Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 124.5 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 190.6 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 51.92 kB / 366.8 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1074, allocations: 52.14 MB / 418.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.004386/0.1118, allocations: 2.359 MB / 421.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1132, allocations: 0.5881 MB / 421.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.1135, allocations: 4 kB / 421.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.1137, allocations: 35.59 kB / 421.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.1139, allocations: 79.33 kB / 422 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1142, allocations: 63.86 kB / 422.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004451/0.1146, allocations: 270.7 kB / 422.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.1149, allocations: 74.77 kB / 422.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.1151, allocations: 107.6 kB / 422.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.1153, allocations: 115.5 kB / 422.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.815e-05/0.1154, allocations: 20 kB / 422.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.162e-05/0.1154, allocations: 20 kB / 422.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.1155, allocations: 47.84 kB / 422.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.1156, allocations: 123.3 kB / 422.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.1161, allocations: 270.8 kB / 423.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1161, allocations: 4 kB / 423.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1161, allocations: 0 / 423.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.1161, allocations: 0 / 423.1 MB, free: 7.922 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009188/0.117, allocations: 0.5183 MB / 423.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1171, allocations: 19.88 kB / 423.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.143e-05/0.1171, allocations: 28.75 kB / 423.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.1176, allocations: 245.3 kB / 423.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.1176, allocations: 20.8 kB / 423.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/0.1176, allocations: 32.31 kB / 424 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.118, allocations: 191.6 kB / 424.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1181, allocations: 4 kB / 424.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.1181, allocations: 8 kB / 424.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.1181, allocations: 8 kB / 424.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.1184, allocations: 133.7 kB / 424.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.1194, allocations: 0.627 MB / 424.9 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.1198, allocations: 164.4 kB / 425.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.1199, allocations: 92.75 kB / 425.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.12, allocations: 8 kB / 425.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.12, allocations: 38.59 kB / 425.2 MB, free: 5.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.12, allocations: 0 / 425.2 MB, free: 5.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002079/0.1221, allocations: 1.068 MB / 426.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.1221, allocations: 63.33 kB / 426.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.1223, allocations: 183.1 kB / 426.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.1223, allocations: 33.7 kB / 426.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1224, allocations: 136.8 kB / 426.7 MB, free: 4.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.394e-05/0.1225, allocations: 118.9 kB / 426.8 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-05/0.1226, allocations: 53.7 kB / 426.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1228, allocations: 338.8 kB / 427.2 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.1229, allocations: 67.97 kB / 427.3 MB, free: 3.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.1231, allocations: 110.9 kB / 427.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.1235, allocations: 193.3 kB / 427.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1235, allocations: 4 kB / 427.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005542/0.124, allocations: 294.3 kB / 427.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.124, allocations: 4 kB / 427.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.124, allocations: 4 kB / 427.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.1242, allocations: 44.83 kB / 427.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.1245, allocations: 59.91 kB / 428 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.1263, allocations: 1.744 MB / 429.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.1264, allocations: 8 kB / 429.7 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.1264, allocations: 15.98 kB / 429.7 MB, free: 0.8242 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.1266, allocations: 133.8 kB / 429.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.1267, allocations: 27.8 kB / 429.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.66e-05/0.1267, allocations: 34.64 kB / 429.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1267, allocations: 8.062 kB / 429.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1267, allocations: 0 / 429.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1267, allocations: 0 / 429.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.128, allocations: 0.7737 MB / 430.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.128, allocations: 8.094 kB / 430.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.1283, allocations: 60.09 kB / 430.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/0.1284, allocations: 40.77 kB / 430.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.1284, allocations: 8 kB / 430.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.1299, allocations: 1.493 MB / 432.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1299, allocations: 0 / 432.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007832/0.1307, allocations: 498.6 kB / 432.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.1307, allocations: 92.97 kB / 432.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.1308, allocations: 8 kB / 432.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.1309, allocations: 8 kB / 432.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.131, allocations: 28.02 kB / 432.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.131, allocations: 4 kB / 432.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.1311, allocations: 135.2 kB / 433.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1311, allocations: 0 / 433.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004053/0.1315, allocations: 64 kB / 433.1 MB, free: 13.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0002105/0.1318, allocations: 117.8 kB / 433.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000711/0.1325, allocations: 327.6 kB / 433.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1325, allocations: 0 / 433.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004098/0.1329, allocations: 230.5 kB / 433.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.1333, allocations: 53.97 kB / 433.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.1348, allocations: 0.7582 MB / 434.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.1352, allocations: 0.7564 MB / 435.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.924e-05/0.1353, allocations: 23.42 kB / 435.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1353, allocations: 0 / 435.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of Templates: time 0.007819/0.1431, allocations: 3.886 MB / 439.3 MB, free: 6.902 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/First/First.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.First.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: 7.8812231831252575]