Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.158/1.158, allocations: 205.1 MB / 223.7 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009172/0.0009172, allocations: 101.5 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007274/0.0007274, allocations: 43.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1804, allocations: 46.61 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002551/0.183, allocations: 2.145 MB / 376 MB, free: 44.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.1833, allocations: 166.2 kB / 376.1 MB, free: 44.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.82e-05/0.1834, allocations: 3.906 kB / 376.1 MB, free: 44.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.1835, allocations: 22.41 kB / 376.2 MB, free: 43.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.52e-05/0.1836, allocations: 36.92 kB / 376.2 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.1837, allocations: 38.08 kB / 376.2 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1839, allocations: 173.9 kB / 376.4 MB, free: 43.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.184, allocations: 55.25 kB / 376.4 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.1841, allocations: 61.06 kB / 376.5 MB, free: 43.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.911e-05/0.1842, allocations: 69.92 kB / 376.6 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.1842, allocations: 9.406 kB / 376.6 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.793e-05/0.1843, allocations: 13.47 kB / 376.6 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.1843, allocations: 28.38 kB / 376.6 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.28e-05/0.1844, allocations: 78.89 kB / 376.7 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.1845, allocations: 176.4 kB / 376.9 MB, free: 43.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1845, allocations: 0 / 376.9 MB, free: 43.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1845, allocations: 0 / 376.9 MB, free: 43.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1845, allocations: 1.062 kB / 376.9 MB, free: 43.51 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004526/0.185, allocations: 471.7 kB / 377.3 MB, free: 43.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.185, allocations: 13.22 kB / 377.4 MB, free: 43.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.1851, allocations: 22.7 kB / 377.4 MB, free: 43.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.1852, allocations: 210.6 kB / 377.6 MB, free: 42.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1852, allocations: 11.81 kB / 377.6 MB, free: 42.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.1853, allocations: 19.22 kB / 377.6 MB, free: 42.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.1855, allocations: 189.1 kB / 377.8 MB, free: 42.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1855, allocations: 5.188 kB / 377.8 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.1856, allocations: 6.688 kB / 377.8 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1856, allocations: 3.594 kB / 377.8 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.1857, allocations: 99.91 kB / 377.9 MB, free: 42.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008874/0.1866, allocations: 0.9599 MB / 378.9 MB, free: 41.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.822e-05/0.1867, allocations: 102.9 kB / 379 MB, free: 41.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.1868, allocations: 40.72 kB / 379 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.1868, allocations: 1.719 kB / 379 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.1868, allocations: 37.41 kB / 379 MB, free: 41.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.1868, allocations: 0 / 379 MB, free: 41.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002439/0.1871, allocations: 126.3 kB / 379.2 MB, free: 41.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.1871, allocations: 112 kB / 379.3 MB, free: 41.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1872, allocations: 204.8 kB / 379.5 MB, free: 41.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.1873, allocations: 31.11 kB / 379.5 MB, free: 41.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.1873, allocations: 140.8 kB / 379.6 MB, free: 40.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1873, allocations: 49.81 kB / 379.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.1874, allocations: 49.25 kB / 379.7 MB, free: 40.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.1874, allocations: 330.5 kB / 380.1 MB, free: 40.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.1875, allocations: 41.75 kB / 380.1 MB, free: 40.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.332e-05/0.1876, allocations: 144.4 kB / 380.2 MB, free: 40.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.1878, allocations: 197 kB / 380.4 MB, free: 40.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1878, allocations: 1.469 kB / 380.4 MB, free: 40.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002454/0.188, allocations: 217.1 kB / 380.7 MB, free: 40.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.188, allocations: 6.438 kB / 380.7 MB, free: 40.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.188, allocations: 15.86 kB / 380.7 MB, free: 40.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1881, allocations: 5.188 kB / 380.7 MB, free: 40.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.1882, allocations: 45.42 kB / 380.7 MB, free: 40.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.1882, allocations: 9.359 kB / 380.7 MB, free: 40.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.791e-05/0.1883, allocations: 36.28 kB / 380.8 MB, free: 40.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.1884, allocations: 13.97 kB / 380.8 MB, free: 40.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (28): * Single equations (assignments): 28 * 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 6.276e-05/0.1884, allocations: 138.7 kB / 380.9 MB, free: 39.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.304e-05/0.1885, allocations: 16.88 kB / 380.9 MB, free: 39.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.1885, allocations: 25.11 kB / 381 MB, free: 39.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1886, allocations: 2.562 kB / 381 MB, free: 39.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1886, allocations: 1.188 kB / 381 MB, free: 39.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1886, allocations: 5 kB / 381 MB, free: 39.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.1889, allocations: 235.8 kB / 381.2 MB, free: 39.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1889, allocations: 1.406 kB / 381.2 MB, free: 39.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.189, allocations: 35.89 kB / 381.2 MB, free: 39.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1891, allocations: 1.219 kB / 381.2 MB, free: 39.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1891, allocations: 5.312 kB / 381.2 MB, free: 39.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1891, allocations: 2.656 kB / 381.2 MB, free: 39.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1891, allocations: 0 / 381.2 MB, free: 39.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007675/0.1899, allocations: 1.428 MB / 382.7 MB, free: 38.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.1899, allocations: 89.61 kB / 382.8 MB, free: 38.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1899, allocations: 6.375 kB / 382.8 MB, free: 38.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1901, allocations: 5.312 kB / 382.8 MB, free: 38.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.1901, allocations: 12.45 kB / 382.8 MB, free: 38.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.1901, allocations: 10.28 kB / 382.8 MB, free: 38.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.555e-05/0.1902, allocations: 150.4 kB / 382.9 MB, free: 37.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1902, allocations: 0 / 382.9 MB, free: 37.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004146/0.1906, allocations: 58.91 kB / 383 MB, free: 37.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (12): * Single equations (assignments): 12 * 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 7.156e-05/0.1907, allocations: 98.09 kB / 383.1 MB, free: 37.87 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.1909, allocations: 111.3 kB / 383.2 MB, free: 37.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1909, allocations: 0 / 383.2 MB, free: 37.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.386e-05/0.1909, allocations: 38.83 kB / 383.2 MB, free: 37.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.1914, allocations: 27.34 kB / 383.3 MB, free: 37.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008288/0.1922, allocations: 0.8282 MB / 384.1 MB, free: 37.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.1924, allocations: 0.7231 MB / 384.8 MB, free: 36.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.083e-05/0.1924, allocations: 24.25 kB / 384.8 MB, free: 36.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.1925, allocations: 17.88 kB / 384.9 MB, free: 36.33 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.1925, allocations: 0 / 384.9 MB, free: 36.33 MB / 298.7 MB Notification: Performance of Templates: time 0.003188/0.1957, allocations: 1.407 MB / 386.3 MB, free: 35.64 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches