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.001469/0.001469, allocations: 107.8 kB / 18.36 MB, free: 4.844 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.001685/0.001686, allocations: 184.2 kB / 19.29 MB, free: 3.918 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.289/1.289, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001168/0.001168, allocations: 55.92 kB / 329.1 MB, free: 3.344 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07126/0.07244, allocations: 46.61 MB / 375.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00316/0.07563, allocations: 2.406 MB / 378.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008852/0.07653, allocations: 0.62 MB / 378.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.933e-05/0.07664, allocations: 4 kB / 378.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.07678, allocations: 43.58 kB / 378.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.07691, allocations: 63.42 kB / 378.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.07712, allocations: 59.84 kB / 378.9 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.07739, allocations: 258.8 kB / 379.2 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.07757, allocations: 93.33 kB / 379.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.07771, allocations: 99.64 kB / 379.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.07787, allocations: 107.5 kB / 379.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.07791, allocations: 23.98 kB / 379.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.411e-05/0.07795, allocations: 20 kB / 379.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.07801, allocations: 47.83 kB / 379.6 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.07812, allocations: 123.4 kB / 379.7 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.07836, allocations: 251.1 kB / 379.9 MB, free: 408 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.07837, allocations: 4 kB / 379.9 MB, free: 404 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.07838, allocations: 0 / 379.9 MB, free: 404 kB / 318.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.07839, allocations: 0 / 379.9 MB, free: 404 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.1454/0.2238, allocations: 0.5092 MB / 380.5 MB, free: 13.17 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2239, allocations: 12.45 kB / 380.5 MB, free: 13.17 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/0.2239, allocations: 26.86 kB / 380.5 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.2242, allocations: 246.7 kB / 380.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.2242, allocations: 12.44 kB / 380.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.2243, allocations: 21.16 kB / 380.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.2247, allocations: 223.8 kB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.2247, allocations: 2.312 kB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.2247, allocations: 9.188 kB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2247, allocations: 5.719 kB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.225, allocations: 145.5 kB / 381.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009946/0.226, allocations: 0.7794 MB / 381.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.2264, allocations: 202.4 kB / 382.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.2266, allocations: 102.1 kB / 382.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.2267, allocations: 4.297 kB / 382.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.2267, allocations: 38.28 kB / 382.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.2267, allocations: 1.375 kB / 382.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001425/0.2281, allocations: 0.8665 MB / 383.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.2282, allocations: 80.89 kB / 383.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.2283, allocations: 181.2 kB / 383.4 MB, free: 11.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.2283, allocations: 29.95 kB / 383.4 MB, free: 11.51 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.2284, allocations: 148.2 kB / 383.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/0.2285, allocations: 93.23 kB / 383.7 MB, free: 11.31 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.408e-05/0.2285, allocations: 46.78 kB / 383.7 MB, free: 11.28 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.721e-05/0.2286, allocations: 330.5 kB / 384 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.2288, allocations: 64.41 kB / 384.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.229, allocations: 111.6 kB / 384.2 MB, free: 10.87 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.2293, allocations: 189.5 kB / 384.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2293, allocations: 1.312 kB / 384.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004031/0.2297, allocations: 250.8 kB / 384.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2297, allocations: 14.83 kB / 384.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2297, allocations: 1.344 kB / 384.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2297, allocations: 2.469 kB / 384.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.23, allocations: 59.2 kB / 384.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.23, allocations: 5.094 kB / 384.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.2301, allocations: 11.41 kB / 384.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.2302, allocations: 11.8 kB / 384.7 MB, free: 10.64 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 8.424e-05/0.2303, allocations: 137.2 kB / 384.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.2303, allocations: 28.91 kB / 384.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.991e-05/0.2304, allocations: 28.08 kB / 384.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2304, allocations: 2.672 kB / 384.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2304, allocations: 1.484 kB / 384.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.2304, allocations: 95.2 kB / 385 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.2305, allocations: 9.125 kB / 385 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.2306, allocations: 7.438 kB / 385 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.2307, allocations: 14.34 kB / 385 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005867/0.2313, allocations: 402.6 kB / 385.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000561/0.2319, allocations: 0.5561 MB / 386 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001596/0.232, allocations: 84.27 kB / 386.1 MB, free: 9.676 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.542e-05/0.2321, allocations: 135 kB / 386.2 MB, free: 9.582 MB / 318.1 MB Notification: Performance of Backend: time 3.51e-07/0.2321, allocations: 3.281 kB / 386.2 MB, free: 9.582 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005783/0.2327, allocations: 192.1 kB / 386.4 MB, free: 9.48 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009072/0.2336, allocations: 1.086 MB / 387.5 MB, free: 8.598 MB / 318.1 MB Notification: Performance of Templates: time 0.005391/0.239, allocations: 2.417 MB / 389.9 MB, free: 8.449 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/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