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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001311, allocations: 105.5 kB / 18.4 MB, free: 4.703 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.001204/0.001204, allocations: 191 kB / 19.33 MB, free: 3.781 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.355/1.355, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001302/0.001302, allocations: 47.94 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08548/0.08679, allocations: 46.61 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003244/0.09008, allocations: 2.085 MB / 377.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004507/0.09056, allocations: 175.3 kB / 378.1 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.0907, allocations: 4 kB / 378.1 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.09088, allocations: 31.66 kB / 378.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.09101, allocations: 43.58 kB / 378.1 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.09119, allocations: 35.95 kB / 378.2 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.09144, allocations: 191.2 kB / 378.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.09162, allocations: 66.02 kB / 378.4 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.528e-05/0.09172, allocations: 67.78 kB / 378.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.09184, allocations: 75.62 kB / 378.6 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.09188, allocations: 12 kB / 378.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.014e-05/0.09191, allocations: 16 kB / 378.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.09196, allocations: 35.91 kB / 378.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.518e-05/0.09205, allocations: 83.55 kB / 378.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.09227, allocations: 179.2 kB / 378.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.09228, allocations: 0 / 378.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09229, allocations: 0 / 378.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.0923, allocations: 0 / 378.9 MB, free: 1.492 MB / 318.1 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.000641/0.09295, allocations: 462.9 kB / 379.3 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.09301, allocations: 19.89 kB / 379.3 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/0.09307, allocations: 16.75 kB / 379.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.09335, allocations: 216 kB / 379.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.09337, allocations: 12.38 kB / 379.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.09342, allocations: 20.38 kB / 379.6 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.09372, allocations: 190.2 kB / 379.8 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.09374, allocations: 7.922 kB / 379.8 MB, free: 472 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.09376, allocations: 4 kB / 379.8 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.09378, allocations: 4 kB / 379.8 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.09396, allocations: 99.89 kB / 379.9 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1805/0.2745, allocations: 0.9512 MB / 380.9 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.2746, allocations: 102.4 kB / 381 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.68e-05/0.2747, allocations: 44.78 kB / 381 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.2747, allocations: 2.406 kB / 381 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.2748, allocations: 38.78 kB / 381 MB, free: 12.86 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.685e-06/0.2748, allocations: 0 / 381 MB, free: 12.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003205/0.2751, allocations: 134.3 kB / 381.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.2751, allocations: 108.6 kB / 381.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.2753, allocations: 209.4 kB / 381.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.2754, allocations: 26.95 kB / 381.5 MB, free: 12.56 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.2754, allocations: 140.9 kB / 381.6 MB, free: 12.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.2755, allocations: 48.28 kB / 381.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.2756, allocations: 45.73 kB / 381.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.881e-05/0.2756, allocations: 332.1 kB / 382.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.533e-05/0.2757, allocations: 36.8 kB / 382.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.2758, allocations: 141.5 kB / 382.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.276, allocations: 197.4 kB / 382.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.276, allocations: 2.578 kB / 382.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002912/0.2763, allocations: 223.2 kB / 382.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2763, allocations: 13.88 kB / 382.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2763, allocations: 3.031 kB / 382.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.2764, allocations: 6.125 kB / 382.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.2765, allocations: 48.84 kB / 382.7 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.2765, allocations: 6.234 kB / 382.7 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.2767, allocations: 27.53 kB / 382.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.2767, allocations: 9.625 kB / 382.8 MB, free: 11.61 MB / 318.1 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 7.623e-05/0.2768, allocations: 140.5 kB / 382.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.2768, allocations: 20.67 kB / 382.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.2769, allocations: 26.64 kB / 382.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2769, allocations: 2.219 kB / 382.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2769, allocations: 4.188 kB / 383 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2769, allocations: 2.031 kB / 383 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.2773, allocations: 235 kB / 383.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2773, allocations: 0 / 383.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.2775, allocations: 32.77 kB / 383.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2775, allocations: 8.156 kB / 383.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2775, allocations: 6.547 kB / 383.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2775, allocations: 1.031 kB / 383.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2775, allocations: 3.547 kB / 383.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.2778, allocations: 388.6 kB / 383.6 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/0.2778, allocations: 100.1 kB / 383.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.2779, allocations: 2.062 kB / 383.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.278, allocations: 12.14 kB / 383.7 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.2781, allocations: 6.484 kB / 383.7 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.2781, allocations: 7.516 kB / 383.7 MB, free: 10.78 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.2782, allocations: 149.7 kB / 383.9 MB, free: 10.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2782, allocations: 0 / 383.9 MB, free: 10.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003938/0.2786, allocations: 36.86 kB / 383.9 MB, free: 10.68 MB / 318.1 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 9.839e-05/0.2787, allocations: 95.91 kB / 384 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.279, allocations: 113.6 kB / 384.1 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.279, allocations: 0.5312 kB / 384.1 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.558e-05/0.2791, allocations: 37.36 kB / 384.2 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.2796, allocations: 30.39 kB / 384.2 MB, free: 10.53 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009947/0.2806, allocations: 0.6565 MB / 384.8 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.2808, allocations: 0.7258 MB / 385.6 MB, free: 9.328 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.2809, allocations: 22.44 kB / 385.6 MB, free: 9.316 MB / 318.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2809, allocations: 0 / 385.6 MB, free: 9.316 MB / 318.1 MB Notification: Performance of Templates: time 0.005159/0.286, allocations: 2.024 MB / 387.6 MB, free: 9.117 MB / 318.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches