Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 73.56 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 159.3 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.614/1.614, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 48 kB / 325.6 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1048, allocations: 53.33 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003777/0.1086, allocations: 2.257 MB / 381.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1097, allocations: 0.6077 MB / 381.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1098, allocations: 15.94 kB / 381.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.1099, allocations: 35.59 kB / 381.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.1101, allocations: 75.34 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.1103, allocations: 59.91 kB / 381.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.1106, allocations: 262.7 kB / 382.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.1107, allocations: 68.41 kB / 382.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.1109, allocations: 115.6 kB / 382.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1111, allocations: 95.48 kB / 382.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.1111, allocations: 20 kB / 382.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.781e-05/0.1112, allocations: 24 kB / 382.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.1113, allocations: 43.84 kB / 382.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.1114, allocations: 95.53 kB / 382.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.1118, allocations: 255 kB / 382.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1118, allocations: 0 / 382.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1118, allocations: 0 / 382.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1118, allocations: 0 / 382.9 MB, free: 11.62 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009397/0.1128, allocations: 465.5 kB / 383.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1128, allocations: 8.031 kB / 383.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.113, allocations: 36.78 kB / 383.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.1134, allocations: 175.8 kB / 383.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.1135, allocations: 20.88 kB / 383.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.612e-05/0.1135, allocations: 20.38 kB / 383.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.1141, allocations: 211 kB / 383.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/0.1141, allocations: 15.94 kB / 383.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.1141, allocations: 8 kB / 383.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1141, allocations: 4 kB / 383.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003952/0.1145, allocations: 125.9 kB / 384 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.1159, allocations: 0.5885 MB / 384.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.1163, allocations: 138.5 kB / 384.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.1165, allocations: 64.83 kB / 384.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.1165, allocations: 4 kB / 384.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.1165, allocations: 34.56 kB / 384.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.903e-06/0.1165, allocations: 0 / 384.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.00224/0.1188, allocations: 0.743 MB / 385.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.1188, allocations: 55.34 kB / 385.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.119, allocations: 166.9 kB / 385.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.1191, allocations: 37.69 kB / 385.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.1192, allocations: 144.4 kB / 385.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.1193, allocations: 95.2 kB / 386 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.1194, allocations: 45.7 kB / 386.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1196, allocations: 326.8 kB / 386.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.1198, allocations: 55.97 kB / 386.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.12, allocations: 105.3 kB / 386.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004472/0.1205, allocations: 172.8 kB / 386.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1205, allocations: 0 / 386.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007044/0.1212, allocations: 250.1 kB / 387 MB, free: 7.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1212, allocations: 6.812 kB / 387 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1212, allocations: 3.938 kB / 387 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002074/0.1214, allocations: 36.83 kB / 387 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.1217, allocations: 52.05 kB / 387 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.1234, allocations: 1.351 MB / 388.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.1236, allocations: 15.95 kB / 388.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.1236, allocations: 12 kB / 388.4 MB, free: 5.719 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.1238, allocations: 129.8 kB / 388.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.947e-05/0.1239, allocations: 23.92 kB / 388.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.623e-05/0.1239, allocations: 25.97 kB / 388.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.1239, allocations: 4 kB / 388.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1239, allocations: 3.984 kB / 388.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.124, allocations: 3.938 kB / 388.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.1252, allocations: 0.5542 MB / 389.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.1252, allocations: 0 / 389.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.1255, allocations: 55.91 kB / 389.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001495/0.1257, allocations: 36.89 kB / 389.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.1257, allocations: 4 kB / 389.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.1273, allocations: 1.355 MB / 390.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1273, allocations: 3.938 kB / 390.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008594/0.1281, allocations: 406.2 kB / 391 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.1282, allocations: 23.8 kB / 391 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.1282, allocations: 4 kB / 391 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.1284, allocations: 8.031 kB / 391.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.1285, allocations: 19.97 kB / 391.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.1285, allocations: 4 kB / 391.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.1287, allocations: 131.2 kB / 391.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1287, allocations: 0 / 391.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005242/0.1292, allocations: 56 kB / 391.3 MB, free: 2.688 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001384/0.1293, allocations: 103.2 kB / 391.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008085/0.1301, allocations: 290.3 kB / 391.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.1301, allocations: 0 / 391.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004771/0.1306, allocations: 202.6 kB / 391.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.1311, allocations: 47.2 kB / 391.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.1327, allocations: 0.6883 MB / 392.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.1329, allocations: 142.5 kB / 392.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.133, allocations: 25.88 kB / 392.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.1331, allocations: 24.44 kB / 392.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1331, allocations: 0 / 392.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Templates: time 0.00876/0.1419, allocations: 2.432 MB / 395.2 MB, free: 14.7 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.375839051906951]