Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001158/0.001158, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 61.12 kB / 306.9 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1046, allocations: 50.53 MB / 357.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004278/0.1089, allocations: 2.434 MB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1105, allocations: 0.666 MB / 360.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002645/0.1108, allocations: 7.938 kB / 360.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.111, allocations: 35.66 kB / 360.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.1114, allocations: 63.36 kB / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.1117, allocations: 75.83 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.1121, allocations: 254.9 kB / 361 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.1124, allocations: 109.3 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.1126, allocations: 99.59 kB / 361.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.1128, allocations: 115.5 kB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.1128, allocations: 20 kB / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.363e-05/0.1129, allocations: 31.98 kB / 361.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.113, allocations: 39.84 kB / 361.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.1131, allocations: 115.4 kB / 361.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.1134, allocations: 259.4 kB / 361.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1134, allocations: 0 / 361.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1134, allocations: 0 / 361.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.1135, allocations: 0 / 361.8 MB, free: 9.777 MB / 302.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.0008588/0.1143, allocations: 0.5302 MB / 362.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1144, allocations: 8.031 kB / 362.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002703/0.1147, allocations: 44.55 kB / 362.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.1149, allocations: 239.8 kB / 362.6 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.115, allocations: 16.81 kB / 362.6 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.115, allocations: 16.38 kB / 362.6 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.1155, allocations: 225.3 kB / 362.8 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.1155, allocations: 11.91 kB / 362.8 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.1155, allocations: 4 kB / 362.8 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.1155, allocations: 4 kB / 362.8 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.1159, allocations: 147.8 kB / 363 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.117, allocations: 0.7909 MB / 363.8 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.1175, allocations: 209 kB / 364 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.1177, allocations: 105.7 kB / 364.1 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1177, allocations: 4 kB / 364.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1178, allocations: 34.69 kB / 364.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.1178, allocations: 0 / 364.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001606/0.1194, allocations: 0.8623 MB / 365 MB, free: 6.258 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.1195, allocations: 81.11 kB / 365.1 MB, free: 6.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1196, allocations: 182.6 kB / 365.2 MB, free: 5.969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.1197, allocations: 29.7 kB / 365.3 MB, free: 5.934 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1198, allocations: 148.2 kB / 365.4 MB, free: 5.785 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.653e-05/0.1199, allocations: 90.8 kB / 365.5 MB, free: 5.695 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/0.12, allocations: 53.7 kB / 365.6 MB, free: 5.637 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1201, allocations: 338.8 kB / 365.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.1203, allocations: 63.97 kB / 366 MB, free: 5.234 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.1204, allocations: 108.2 kB / 366.1 MB, free: 5.113 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.1208, allocations: 194.7 kB / 366.3 MB, free: 4.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1208, allocations: 0 / 366.3 MB, free: 4.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004429/0.1212, allocations: 245.1 kB / 366.5 MB, free: 4.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1213, allocations: 12.09 kB / 366.5 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1213, allocations: 0 / 366.5 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1213, allocations: 4 kB / 366.5 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.1216, allocations: 67.89 kB / 366.6 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1216, allocations: 0 / 366.6 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.1217, allocations: 15.94 kB / 366.6 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.1217, allocations: 4 kB / 366.6 MB, free: 4.562 MB / 302.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.0001339/0.1219, allocations: 145.7 kB / 366.7 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.1219, allocations: 27.7 kB / 366.8 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/0.122, allocations: 25.88 kB / 366.8 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.122, allocations: 4 kB / 366.8 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.122, allocations: 0 / 366.8 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.122, allocations: 11.98 kB / 366.8 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008308/0.1229, allocations: 0.5748 MB / 367.4 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.1229, allocations: 4 kB / 367.4 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.1232, allocations: 59.91 kB / 367.4 MB, free: 3.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1232, allocations: 0 / 367.4 MB, free: 3.637 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.1232, allocations: 11.92 kB / 367.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1232, allocations: 4 kB / 367.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1232, allocations: 3.938 kB / 367.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006381/0.1239, allocations: 498.8 kB / 367.9 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.1239, allocations: 96.83 kB / 368 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.124, allocations: 8 kB / 368 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1241, allocations: 12.03 kB / 368.1 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.1242, allocations: 19.92 kB / 368.1 MB, free: 2.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.1242, allocations: 11.98 kB / 368.1 MB, free: 2.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.1244, allocations: 132.9 kB / 368.2 MB, free: 2.812 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.1244, allocations: 0 / 368.2 MB, free: 2.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003494/0.1247, allocations: 55.94 kB / 368.3 MB, free: 2.758 MB / 302.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.0001134/0.1248, allocations: 115.1 kB / 368.4 MB, free: 2.637 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000409/0.1253, allocations: 189.2 kB / 368.6 MB, free: 2.457 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1253, allocations: 3.938 kB / 368.6 MB, free: 2.453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.1254, allocations: 87.91 kB / 368.7 MB, free: 2.367 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.126, allocations: 36.34 kB / 368.7 MB, free: 2.332 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.1272, allocations: 0.6957 MB / 369.4 MB, free: 1.602 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.1275, allocations: 0.748 MB / 370.1 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.706e-05/0.1276, allocations: 17.95 kB / 370.2 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.1277, allocations: 23.42 kB / 370.2 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1277, allocations: 0 / 370.2 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of Templates: time 0.1463/0.274, allocations: 2.025 MB / 372.2 MB, free: 19.52 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches