Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001022/0.001022, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.412/1.412, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.0007482/0.0007481, allocations: 94.3 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003025, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2249, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002467/0.2274, allocations: 1.737 MB / 376.8 MB, free: 44.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002897/0.2277, allocations: 161.5 kB / 377 MB, free: 43.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.729e-05/0.2278, allocations: 3.375 kB / 377 MB, free: 43.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.2279, allocations: 19.06 kB / 377 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.228, allocations: 48.98 kB / 377 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.2282, allocations: 34.09 kB / 377.1 MB, free: 43.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.2284, allocations: 163.4 kB / 377.2 MB, free: 43.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.2285, allocations: 52.97 kB / 377.3 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.94e-05/0.2286, allocations: 58.34 kB / 377.3 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.2287, allocations: 61.45 kB / 377.4 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.2288, allocations: 7.531 kB / 377.4 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.917e-05/0.2288, allocations: 7.781 kB / 377.4 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.2288, allocations: 28.03 kB / 377.5 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.84e-05/0.2289, allocations: 96.53 kB / 377.5 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.229, allocations: 128.8 kB / 377.7 MB, free: 43.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2291, allocations: 0 / 377.7 MB, free: 43.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2291, allocations: 0 / 377.7 MB, free: 43.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.2291, allocations: 0 / 377.7 MB, free: 43.42 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.0004643/0.2295, allocations: 448 kB / 378.1 MB, free: 42.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2296, allocations: 9.125 kB / 378.1 MB, free: 42.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.2296, allocations: 21.94 kB / 378.1 MB, free: 42.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.2298, allocations: 215.8 kB / 378.4 MB, free: 42.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.2299, allocations: 14.44 kB / 378.4 MB, free: 42.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.2299, allocations: 15.72 kB / 378.4 MB, free: 42.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.2302, allocations: 188.2 kB / 378.6 MB, free: 42.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.2302, allocations: 9.344 kB / 378.6 MB, free: 42.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.2302, allocations: 9.188 kB / 378.6 MB, free: 42.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2302, allocations: 4.938 kB / 378.6 MB, free: 42.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.2304, allocations: 99.06 kB / 378.7 MB, free: 42.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.2314, allocations: 0.9559 MB / 379.6 MB, free: 41.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.2316, allocations: 102.8 kB / 379.7 MB, free: 41.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.198e-05/0.2316, allocations: 40.08 kB / 379.8 MB, free: 41.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.2316, allocations: 6.047 kB / 379.8 MB, free: 41.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.2317, allocations: 35.53 kB / 379.8 MB, free: 41.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.2317, allocations: 1.312 kB / 379.8 MB, free: 41.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002743/0.2319, allocations: 125.2 kB / 379.9 MB, free: 41.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.232, allocations: 109.1 kB / 380 MB, free: 41.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.2321, allocations: 203.4 kB / 380.2 MB, free: 41.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.2322, allocations: 26.92 kB / 380.3 MB, free: 41.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.2322, allocations: 144.5 kB / 380.4 MB, free: 40.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.2323, allocations: 45.06 kB / 380.5 MB, free: 40.85 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-06/0.2323, allocations: 9.344 kB / 380.5 MB, free: 40.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.727e-05/0.2323, allocations: 331.1 kB / 380.8 MB, free: 40.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.42e-05/0.2324, allocations: 36.58 kB / 380.8 MB, free: 40.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.2325, allocations: 143.8 kB / 381 MB, free: 40.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.2327, allocations: 199.2 kB / 381.2 MB, free: 40.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2327, allocations: 1.156 kB / 381.2 MB, free: 40.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002848/0.233, allocations: 212.1 kB / 381.4 MB, free: 40.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.233, allocations: 13.86 kB / 381.4 MB, free: 40.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.2331, allocations: 4.375 kB / 381.4 MB, free: 40.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.2331, allocations: 9.281 kB / 381.4 MB, free: 40.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.2332, allocations: 50.48 kB / 381.4 MB, free: 40.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.2333, allocations: 9.344 kB / 381.5 MB, free: 40 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.975e-05/0.2334, allocations: 31.69 kB / 381.5 MB, free: 39.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.2334, allocations: 13.03 kB / 381.5 MB, free: 39.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.699e-05/0.2335, allocations: 138.9 kB / 381.6 MB, free: 39.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.2335, allocations: 16.53 kB / 381.7 MB, free: 39.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.312e-05/0.2336, allocations: 21.58 kB / 381.7 MB, free: 39.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2336, allocations: 2.375 kB / 381.7 MB, free: 39.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.2336, allocations: 5.531 kB / 381.7 MB, free: 39.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2336, allocations: 9.266 kB / 381.7 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.234, allocations: 232.5 kB / 381.9 MB, free: 39.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.234, allocations: 3.938 kB / 381.9 MB, free: 39.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.2341, allocations: 31.7 kB / 382 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2341, allocations: 2.594 kB / 382 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.2341, allocations: 1.344 kB / 382 MB, free: 39.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2342, allocations: 9.266 kB / 382 MB, free: 39.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2342, allocations: 1.312 kB / 382 MB, free: 39.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.2344, allocations: 381.8 kB / 382.3 MB, free: 39.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.2344, allocations: 98.97 kB / 382.4 MB, free: 39.1 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.2345, allocations: 1.594 kB / 382.4 MB, free: 39.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.2346, allocations: 0.9062 kB / 382.4 MB, free: 39.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.2346, allocations: 15.67 kB / 382.5 MB, free: 39.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.2347, allocations: 3.688 kB / 382.5 MB, free: 39.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.652e-05/0.2348, allocations: 152.9 kB / 382.6 MB, free: 38.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2348, allocations: 0 / 382.6 MB, free: 38.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003754/0.2351, allocations: 40.31 kB / 382.6 MB, free: 38.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9e-05/0.2352, allocations: 101.9 kB / 382.7 MB, free: 38.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.2354, allocations: 106 kB / 382.8 MB, free: 38.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2354, allocations: 1.594 kB / 382.8 MB, free: 38.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.796e-05/0.2355, allocations: 40.8 kB / 382.9 MB, free: 38.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005197/0.236, allocations: 26.22 kB / 382.9 MB, free: 38.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009713/0.237, allocations: 0.7837 MB / 383.7 MB, free: 38.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.2372, allocations: 0.7228 MB / 384.4 MB, free: 37.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.2372, allocations: 18.66 kB / 384.4 MB, free: 37.4 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.2372, allocations: 0 / 384.4 MB, free: 37.4 MB / 298.7 MB Notification: Performance of Templates: time 0.003456/0.2407, allocations: 1.955 MB / 386.4 MB, free: 36.39 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches