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.001754/0.001754, allocations: 119.4 kB / 18.41 MB, free: 4.656 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.001967/0.001967, allocations: 192.3 kB / 21.35 MB, free: 1.723 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.467/1.467, allocations: 222.9 MB / 247 MB, free: 4.199 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.00156/0.00156, allocations: 51.92 kB / 358.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09489/0.09646, allocations: 49.44 MB / 408.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003609/0.1001, allocations: 2.349 MB / 410.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.1011, allocations: 0.5804 MB / 411 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.1013, allocations: 4 kB / 411 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.1014, allocations: 39.58 kB / 411.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.1016, allocations: 79.33 kB / 411.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.1018, allocations: 51.88 kB / 411.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.1021, allocations: 282.7 kB / 411.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.1024, allocations: 98.69 kB / 411.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.1025, allocations: 111.5 kB / 411.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.1027, allocations: 111.5 kB / 411.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/0.1028, allocations: 20 kB / 411.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.1028, allocations: 20 kB / 411.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.1029, allocations: 51.77 kB / 411.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.103, allocations: 123.4 kB / 412 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.1033, allocations: 270.8 kB / 412.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1033, allocations: 0 / 412.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1033, allocations: 0 / 412.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1033, allocations: 0 / 412.3 MB, free: 2.648 MB / 334.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.0007311/0.1041, allocations: 0.5183 MB / 412.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1041, allocations: 15.89 kB / 412.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.083e-05/0.1042, allocations: 36.75 kB / 412.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.1045, allocations: 245.4 kB / 413.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.1046, allocations: 20.75 kB / 413.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.1046, allocations: 28.33 kB / 413.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.105, allocations: 191.6 kB / 413.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.105, allocations: 0 / 413.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.1051, allocations: 8 kB / 413.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1051, allocations: 8 kB / 413.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.1054, allocations: 141.7 kB / 413.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009559/0.1063, allocations: 0.627 MB / 414.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.1066, allocations: 178.5 kB / 414.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.1068, allocations: 100.8 kB / 414.4 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.1068, allocations: 4 kB / 414.4 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1069, allocations: 30.56 kB / 414.4 MB, free: 356 kB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.1069, allocations: 0 / 414.4 MB, free: 356 kB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001942/0.1088, allocations: 1.079 MB / 415.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.1089, allocations: 55.34 kB / 415.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1091, allocations: 187.1 kB / 415.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1091, allocations: 29.7 kB / 415.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.24e-05/0.1092, allocations: 144.8 kB / 415.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.599e-05/0.1093, allocations: 119 kB / 416 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.1094, allocations: 57.64 kB / 416 MB, free: 14.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1095, allocations: 334.8 kB / 416.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.1097, allocations: 63.97 kB / 416.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.1099, allocations: 114.9 kB / 416.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.1102, allocations: 197.3 kB / 416.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1102, allocations: 0 / 416.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000507/0.1107, allocations: 302.2 kB / 417 MB, free: 13.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1107, allocations: 4 kB / 417 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1108, allocations: 4 kB / 417 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001792/0.1109, allocations: 36.84 kB / 417.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.1112, allocations: 67.95 kB / 417.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.1128, allocations: 1.736 MB / 418.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.1129, allocations: 12 kB / 418.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.1129, allocations: 4 kB / 418.9 MB, free: 11.54 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.0001361/0.1131, allocations: 137.8 kB / 419 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.1131, allocations: 35.78 kB / 419.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.1132, allocations: 30.72 kB / 419.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1132, allocations: 0 / 419.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1132, allocations: 4 kB / 419.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1132, allocations: 3.984 kB / 419.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.1143, allocations: 0.7776 MB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1144, allocations: 4 kB / 419.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.1146, allocations: 59.91 kB / 419.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.1147, allocations: 28.84 kB / 420 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.1148, allocations: 8 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.116, allocations: 1.497 MB / 421.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.116, allocations: 0 / 421.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000687/0.1167, allocations: 490.6 kB / 422 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.1168, allocations: 96.97 kB / 422.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1168, allocations: 4 kB / 422.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.117, allocations: 16.03 kB / 422.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.117, allocations: 31.91 kB / 422.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.117, allocations: 8 kB / 422.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1172, allocations: 127.2 kB / 422.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.066e-06/0.1172, allocations: 0 / 422.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003698/0.1175, allocations: 71.94 kB / 422.3 MB, free: 7.84 MB / 350.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.0001188/0.1177, allocations: 107.2 kB / 422.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006249/0.1183, allocations: 339.5 kB / 422.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1183, allocations: 0 / 422.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.1187, allocations: 238.5 kB / 423 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.1191, allocations: 66.61 kB / 423 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.1204, allocations: 0.754 MB / 423.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.1209, allocations: 0.7563 MB / 424.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.121, allocations: 19.44 kB / 424.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.121, allocations: 4 kB / 424.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of Templates: time 0.006671/0.1277, allocations: 3.853 MB / 428.4 MB, free: 1.621 MB / 350.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.737279606051743]