Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 110.5 kB / 17.73 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 187 kB / 18.67 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 43.94 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1072, allocations: 46.62 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004424/0.1117, allocations: 2.4 MB / 377.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1133, allocations: 0.62 MB / 378.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003668/0.1137, allocations: 7.938 kB / 378.2 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.114, allocations: 39.64 kB / 378.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.1144, allocations: 67.36 kB / 378.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.1149, allocations: 59.91 kB / 378.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000645/0.1156, allocations: 254.8 kB / 378.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00038/0.1159, allocations: 101.3 kB / 378.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.1163, allocations: 91.7 kB / 378.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.1166, allocations: 107.5 kB / 378.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.14e-05/0.1167, allocations: 20 kB / 378.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.496e-05/0.1168, allocations: 20 kB / 378.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.048e-05/0.1169, allocations: 51.83 kB / 379 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.1171, allocations: 127.3 kB / 379.1 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.1176, allocations: 247 kB / 379.3 MB, free: 364 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.1176, allocations: 7.984 kB / 379.3 MB, free: 356 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.1176, allocations: 0 / 379.3 MB, free: 356 kB / 318.1 MB Notification: Performance of Transformations before backend: time 3.435e-05/0.1176, allocations: 3.938 kB / 379.3 MB, free: 352 kB / 318.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.241/0.3586, allocations: 0.5174 MB / 379.9 MB, free: 13.17 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.316e-05/0.3587, allocations: 14.86 kB / 379.9 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.797e-05/0.3588, allocations: 26.78 kB / 379.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000552/0.3594, allocations: 243.8 kB / 380.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.3594, allocations: 17.52 kB / 380.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.804e-05/0.3595, allocations: 20.39 kB / 380.2 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006183/0.3601, allocations: 225.5 kB / 380.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.3601, allocations: 0 / 380.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.3602, allocations: 8.5 kB / 380.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.3602, allocations: 5.25 kB / 380.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.3607, allocations: 144.3 kB / 380.5 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.3623, allocations: 0.7857 MB / 381.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/0.3629, allocations: 196.4 kB / 381.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.3633, allocations: 108.1 kB / 381.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-05/0.3633, allocations: 2.75 kB / 381.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.3634, allocations: 34.92 kB / 381.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.3634, allocations: 0 / 381.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.002177/0.3655, allocations: 0.8688 MB / 382.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.3656, allocations: 80.39 kB / 382.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.3659, allocations: 178 kB / 382.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.3659, allocations: 31.3 kB / 382.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.3661, allocations: 141.4 kB / 383 MB, free: 11.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.3662, allocations: 105.1 kB / 383.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.3663, allocations: 47.22 kB / 383.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3664, allocations: 330.2 kB / 383.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.3666, allocations: 65.98 kB / 383.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.3668, allocations: 111.5 kB / 383.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.3672, allocations: 189.5 kB / 383.8 MB, free: 10.76 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3672, allocations: 0.9688 kB / 383.8 MB, free: 10.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004746/0.3677, allocations: 249.4 kB / 384 MB, free: 10.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.3677, allocations: 5.812 kB / 384 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3677, allocations: 1.219 kB / 384 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.3678, allocations: 2.312 kB / 384 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.368, allocations: 64.36 kB / 384.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.3681, allocations: 3.5 kB / 384.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.3682, allocations: 15.59 kB / 384.1 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.3682, allocations: 10.69 kB / 384.1 MB, free: 10.63 MB / 318.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.0001177/0.3683, allocations: 136.7 kB / 384.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.3684, allocations: 27.58 kB / 384.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.521e-05/0.3685, allocations: 30.72 kB / 384.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3685, allocations: 3.625 kB / 384.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.3685, allocations: 0.5625 kB / 384.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.3685, allocations: 10.69 kB / 384.3 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/0.3695, allocations: 0.577 MB / 384.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3695, allocations: 1.031 kB / 384.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.3698, allocations: 57.73 kB / 385 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.3698, allocations: 10.81 kB / 385 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.3699, allocations: 9.891 kB / 385 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.3699, allocations: 4.125 kB / 385 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3699, allocations: 3.938 kB / 385 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006904/0.3706, allocations: 0.4982 MB / 385.5 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.3706, allocations: 96.89 kB / 385.6 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.3707, allocations: 6.781 kB / 385.6 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.3709, allocations: 12.97 kB / 385.6 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.371, allocations: 19.97 kB / 385.6 MB, free: 9.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.371, allocations: 10.17 kB / 385.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.3711, allocations: 135.5 kB / 385.8 MB, free: 9.438 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3711, allocations: 0 / 385.8 MB, free: 9.438 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003807/0.3715, allocations: 51.12 kB / 385.8 MB, free: 9.43 MB / 318.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.0001183/0.3716, allocations: 105.8 kB / 385.9 MB, free: 9.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004622/0.3721, allocations: 176.5 kB / 386.1 MB, free: 9.285 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3721, allocations: 5.188 kB / 386.1 MB, free: 9.281 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.3723, allocations: 102.6 kB / 386.2 MB, free: 9.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.3728, allocations: 40.3 kB / 386.2 MB, free: 9.238 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.374, allocations: 0.6783 MB / 386.9 MB, free: 8.777 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.3742, allocations: 0.7452 MB / 387.7 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.3744, allocations: 18.75 kB / 387.7 MB, free: 8.074 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.3744, allocations: 29.14 kB / 387.7 MB, free: 8.059 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3744, allocations: 0 / 387.7 MB, free: 8.059 MB / 318.1 MB Notification: Performance of Templates: time 0.006447/0.3809, allocations: 2.064 MB / 389.8 MB, free: 7.906 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches