Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.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.001755/0.001755, allocations: 123.4 kB / 18.41 MB, free: 4.508 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.002177/0.002177, allocations: 196.3 kB / 21.35 MB, free: 1.582 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.429/1.429, allocations: 222.9 MB / 247 MB, free: 4.332 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.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 47.92 kB / 358.6 MB, free: 8.461 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.106, allocations: 49.44 MB / 408.1 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003979/0.11, allocations: 2.425 MB / 410.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1111, allocations: 0.5726 MB / 411.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1113, allocations: 4 kB / 411.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.1114, allocations: 43.58 kB / 411.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.1116, allocations: 71.34 kB / 411.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.1118, allocations: 59.92 kB / 411.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.1122, allocations: 254.8 kB / 411.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.1124, allocations: 93.34 kB / 411.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.1126, allocations: 103.6 kB / 411.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.1127, allocations: 99.55 kB / 411.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.1128, allocations: 20 kB / 411.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.081e-05/0.1128, allocations: 24 kB / 411.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.1129, allocations: 47.78 kB / 411.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.113, allocations: 111.5 kB / 412 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.1134, allocations: 262.8 kB / 412.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1134, allocations: 4 kB / 412.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1134, allocations: 0 / 412.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1134, allocations: 0 / 412.3 MB, free: 2.789 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008256/0.1142, allocations: 0.5279 MB / 412.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1143, allocations: 11.89 kB / 412.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.056e-05/0.1144, allocations: 32.75 kB / 412.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.1147, allocations: 233.4 kB / 413.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.1147, allocations: 16.81 kB / 413.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/0.1148, allocations: 28.33 kB / 413.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.1152, allocations: 221.2 kB / 413.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.1153, allocations: 0 / 413.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.1153, allocations: 8 kB / 413.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1153, allocations: 8 kB / 413.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/0.1156, allocations: 147.9 kB / 413.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.1169, allocations: 0.7794 MB / 414.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/0.1174, allocations: 201 kB / 414.4 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.1176, allocations: 101.7 kB / 414.5 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.1177, allocations: 12.08 kB / 414.6 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.1177, allocations: 58.55 kB / 414.6 MB, free: 228 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.823e-06/0.1177, allocations: 0 / 414.6 MB, free: 228 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001765/0.1195, allocations: 0.8658 MB / 415.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.1195, allocations: 77.11 kB / 415.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.1197, allocations: 174.5 kB / 415.7 MB, free: 15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.1198, allocations: 33.7 kB / 415.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1199, allocations: 136.5 kB / 415.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.938e-05/0.12, allocations: 103.1 kB / 416 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.881e-05/0.1201, allocations: 49.69 kB / 416 MB, free: 14.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1202, allocations: 326.8 kB / 416.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.1204, allocations: 71.95 kB / 416.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.1206, allocations: 112.7 kB / 416.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.121, allocations: 186.8 kB / 416.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.121, allocations: 0 / 416.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004658/0.1214, allocations: 245.6 kB / 417 MB, free: 13.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1215, allocations: 4 kB / 417 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1215, allocations: 4 kB / 417 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1215, allocations: 3.938 kB / 417 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.1218, allocations: 64.06 kB / 417 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.1218, allocations: 12 kB / 417.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.1219, allocations: 15.94 kB / 417.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.1219, allocations: 8 kB / 417.1 MB, free: 13.59 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.1221, allocations: 137.7 kB / 417.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.1222, allocations: 19.91 kB / 417.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/0.1223, allocations: 29.86 kB / 417.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.1223, allocations: 4 kB / 417.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.1223, allocations: 7.984 kB / 417.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1223, allocations: 0 / 417.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000933/0.1232, allocations: 0.5826 MB / 417.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1232, allocations: 4 kB / 417.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.1235, allocations: 56 kB / 417.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1235, allocations: 4 kB / 417.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.1236, allocations: 8 kB / 417.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/0.1236, allocations: 4 kB / 417.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1236, allocations: 7.875 kB / 417.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007116/0.1243, allocations: 0.4899 MB / 418.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.711e-05/0.1244, allocations: 100.9 kB / 418.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.1244, allocations: 8 kB / 418.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.1246, allocations: 8 kB / 418.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.1247, allocations: 23.91 kB / 418.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1247, allocations: 12 kB / 418.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.1248, allocations: 140.3 kB / 418.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1248, allocations: 3.938 kB / 418.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.1252, allocations: 44 kB / 418.8 MB, free: 11.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001878/0.1254, allocations: 111.1 kB / 418.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004379/0.1258, allocations: 175.8 kB / 419 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.1259, allocations: 8.188 kB / 419 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.1261, allocations: 91.84 kB / 419.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.1266, allocations: 38.36 kB / 419.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.128, allocations: 0.716 MB / 419.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.1284, allocations: 0.748 MB / 420.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/0.1285, allocations: 23.44 kB / 420.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1285, allocations: 3.938 kB / 420.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of Templates: time 0.005351/0.1339, allocations: 2.613 MB / 423.3 MB, free: 7.184 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.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.242076401016675]