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.001638/0.001638, allocations: 123.5 kB / 18.46 MB, free: 4.613 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.001771/0.001771, allocations: 188.3 kB / 21.39 MB, free: 1.688 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.504/1.504, allocations: 225.6 MB / 249.8 MB, free: 3.629 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.001529/0.001529, allocations: 51.92 kB / 366.8 MB, free: 464 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.09619, allocations: 52.14 MB / 418.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003751/0.09994, allocations: 2.435 MB / 421.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.101, allocations: 0.5803 MB / 422 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1011, allocations: 4 kB / 422 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.1013, allocations: 35.64 kB / 422 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.1014, allocations: 75.34 kB / 422.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.1017, allocations: 63.86 kB / 422.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.102, allocations: 250.8 kB / 422.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.1022, allocations: 69.36 kB / 422.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.1024, allocations: 107.6 kB / 422.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.1025, allocations: 103.5 kB / 422.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.1026, allocations: 24 kB / 422.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.888e-05/0.1026, allocations: 20 kB / 422.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.1027, allocations: 47.83 kB / 422.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.1028, allocations: 123.4 kB / 422.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.1031, allocations: 247 kB / 423.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1031, allocations: 0 / 423.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1031, allocations: 0 / 423.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1031, allocations: 0 / 423.1 MB, free: 8.035 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.00084/0.104, allocations: 0.5299 MB / 423.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.104, allocations: 11.89 kB / 423.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/0.1041, allocations: 36.69 kB / 423.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.1044, allocations: 233.4 kB / 423.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1044, allocations: 20.75 kB / 423.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/0.1045, allocations: 20.33 kB / 423.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.1049, allocations: 225.3 kB / 424.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.1049, allocations: 7.984 kB / 424.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.1049, allocations: 4 kB / 424.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.1049, allocations: 4 kB / 424.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.1053, allocations: 151.8 kB / 424.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.1066, allocations: 0.7794 MB / 425.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.107, allocations: 189 kB / 425.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.1072, allocations: 101.7 kB / 425.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1072, allocations: 4 kB / 425.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.1073, allocations: 38.69 kB / 425.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.1073, allocations: 0 / 425.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001766/0.109, allocations: 0.8755 MB / 426.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.1091, allocations: 81.11 kB / 426.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.1093, allocations: 174.5 kB / 426.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1093, allocations: 25.7 kB / 426.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.918e-05/0.1094, allocations: 140.5 kB / 426.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.943e-05/0.1095, allocations: 103.1 kB / 426.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-05/0.1096, allocations: 49.7 kB / 426.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1097, allocations: 330.8 kB / 427.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.1099, allocations: 67.95 kB / 427.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.1101, allocations: 104.8 kB / 427.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.1104, allocations: 186.6 kB / 427.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1104, allocations: 4 kB / 427.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004574/0.1109, allocations: 255.5 kB / 427.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1109, allocations: 8 kB / 427.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1109, allocations: 0 / 427.8 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.1109, allocations: 4 kB / 427.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.1112, allocations: 55.91 kB / 427.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.1112, allocations: 8.062 kB / 427.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.1113, allocations: 15.94 kB / 427.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.1113, allocations: 12 kB / 427.9 MB, free: 2.859 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.0001395/0.1115, allocations: 145.8 kB / 428 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.1115, allocations: 15.91 kB / 428.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.035e-05/0.1116, allocations: 33.8 kB / 428.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1116, allocations: 4 kB / 428.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1116, allocations: 0 / 428.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1116, allocations: 0 / 428.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009091/0.1125, allocations: 0.5904 MB / 428.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1125, allocations: 0 / 428.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.1128, allocations: 59.91 kB / 428.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1128, allocations: 4 kB / 428.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.1128, allocations: 4 kB / 428.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1128, allocations: 4 kB / 428.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1128, allocations: 3.938 kB / 428.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007507/0.1136, allocations: 0.4939 MB / 429.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.1137, allocations: 104.8 kB / 429.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.1137, allocations: 4 kB / 429.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.1139, allocations: 12 kB / 429.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.1139, allocations: 23.95 kB / 429.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1139, allocations: 8 kB / 429.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.1141, allocations: 140.2 kB / 429.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1141, allocations: 0 / 429.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003439/0.1144, allocations: 48 kB / 429.6 MB, free: 1.051 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.0001205/0.1145, allocations: 103.2 kB / 429.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004069/0.1149, allocations: 175.8 kB / 429.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1149, allocations: 0 / 429.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.1151, allocations: 95.83 kB / 429.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.1156, allocations: 34.38 kB / 430 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.1169, allocations: 0.7239 MB / 430.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.1173, allocations: 0.744 MB / 431.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.193e-05/0.1174, allocations: 19.44 kB / 431.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1174, allocations: 4 kB / 431.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of Templates: time 0.004864/0.1223, allocations: 2.625 MB / 434.1 MB, free: 12.46 MB / 366.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: 6.985509375110269]