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.002758/0.002757, allocations: 183.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.629/3.629, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001842/0.001842, allocations: 97.48 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006619/0.0006622, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5281/0.5289, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.004007/0.533, allocations: 1.683 MB / 376.2 MB, free: 44.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007251/0.5338, allocations: 174.4 kB / 376.4 MB, free: 43.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.534, allocations: 3.5 kB / 376.4 MB, free: 43.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.668e-05/0.5341, allocations: 22.06 kB / 376.4 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.5344, allocations: 55.66 kB / 376.5 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.5347, allocations: 33.88 kB / 376.5 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003927/0.5351, allocations: 122.7 kB / 376.6 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.5354, allocations: 42.09 kB / 376.7 MB, free: 43.76 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.5355, allocations: 57.75 kB / 376.7 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.5357, allocations: 61.64 kB / 376.8 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.5358, allocations: 11.56 kB / 376.8 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.965e-05/0.5359, allocations: 6.938 kB / 376.8 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.5359, allocations: 29.28 kB / 376.8 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.192e-05/0.536, allocations: 52.89 kB / 376.9 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.5363, allocations: 131.8 kB / 377 MB, free: 43.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5363, allocations: 0 / 377 MB, free: 43.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5363, allocations: 0 / 377 MB, free: 43.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.5364, allocations: 3.938 kB / 377 MB, free: 43.52 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.0009128/0.5373, allocations: 436.5 kB / 377.4 MB, free: 43.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.5374, allocations: 13.02 kB / 377.4 MB, free: 43.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.593e-05/0.5375, allocations: 25.94 kB / 377.5 MB, free: 43.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.5379, allocations: 211.8 kB / 377.7 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.5379, allocations: 15.44 kB / 377.7 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.538, allocations: 22.59 kB / 377.7 MB, free: 42.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005529/0.5386, allocations: 181.9 kB / 377.9 MB, free: 42.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.5386, allocations: 5.125 kB / 377.9 MB, free: 42.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.5387, allocations: 6.156 kB / 377.9 MB, free: 42.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.5387, allocations: 4.406 kB / 377.9 MB, free: 42.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.5391, allocations: 103.3 kB / 378 MB, free: 42.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/0.5416, allocations: 0.9533 MB / 379 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.5419, allocations: 98.31 kB / 379 MB, free: 41.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.542, allocations: 1.969 kB / 379.1 MB, free: 41.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.542, allocations: 48.84 kB / 379.1 MB, free: 41.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 4.498e-06/0.542, allocations: 0 / 379.1 MB, free: 41.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005974/0.5427, allocations: 127 kB / 379.2 MB, free: 41.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.5427, allocations: 108.2 kB / 379.3 MB, free: 41.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.5431, allocations: 215.2 kB / 379.5 MB, free: 41.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.5432, allocations: 26.67 kB / 379.6 MB, free: 41.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.5433, allocations: 201 kB / 379.8 MB, free: 40.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.775e-05/0.5434, allocations: 52.92 kB / 379.8 MB, free: 40.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.5434, allocations: 4.906 kB / 379.8 MB, free: 40.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.5436, allocations: 321 kB / 380.1 MB, free: 40.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.5438, allocations: 37.64 kB / 380.2 MB, free: 40.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.5441, allocations: 143.5 kB / 380.3 MB, free: 40.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.5443, allocations: 57.66 kB / 380.4 MB, free: 40.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.5444, allocations: 1.062 kB / 380.4 MB, free: 40.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000736/0.5451, allocations: 202.3 kB / 380.6 MB, free: 40.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.5452, allocations: 6.125 kB / 380.6 MB, free: 40.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.5452, allocations: 4.312 kB / 380.6 MB, free: 40.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/0.5453, allocations: 5.469 kB / 380.6 MB, free: 40.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.5458, allocations: 55.5 kB / 380.6 MB, free: 40.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/0.5458, allocations: 12.31 kB / 380.6 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.5462, allocations: 28.06 kB / 380.7 MB, free: 40.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.5462, allocations: 14.2 kB / 380.7 MB, free: 40.23 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 0.0001928/0.5464, allocations: 130.7 kB / 380.8 MB, free: 40.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.5466, allocations: 16.84 kB / 380.8 MB, free: 40.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.759e-05/0.5467, allocations: 20.89 kB / 380.9 MB, free: 40.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.5467, allocations: 2.062 kB / 380.9 MB, free: 40.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.5468, allocations: 4.969 kB / 380.9 MB, free: 40.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.5468, allocations: 4.969 kB / 380.9 MB, free: 40.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009622/0.5478, allocations: 256.7 kB / 381.1 MB, free: 39.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.5478, allocations: 0 / 381.1 MB, free: 39.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.5483, allocations: 28.86 kB / 381.1 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.5484, allocations: 5.219 kB / 381.1 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.5484, allocations: 1.344 kB / 381.1 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.5484, allocations: 1.469 kB / 381.1 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5484, allocations: 1.375 kB / 381.2 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006031/0.5491, allocations: 408.3 kB / 381.5 MB, free: 39.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.5492, allocations: 89.45 kB / 381.6 MB, free: 39.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.084e-05/0.5493, allocations: 10.39 kB / 381.6 MB, free: 39.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.5497, allocations: 1.188 kB / 381.6 MB, free: 39.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.5498, allocations: 12.27 kB / 381.7 MB, free: 39.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.5498, allocations: 11.08 kB / 381.7 MB, free: 39.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002585/0.5501, allocations: 153.8 kB / 381.8 MB, free: 39.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.5501, allocations: 0 / 381.8 MB, free: 39.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000893/0.551, allocations: 39.25 kB / 381.9 MB, free: 39.19 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 0.0001708/0.5512, allocations: 97.56 kB / 382 MB, free: 39.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005169/0.5517, allocations: 107.4 kB / 382.1 MB, free: 39.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.5518, allocations: 0 / 382.1 MB, free: 39.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.5519, allocations: 41.17 kB / 382.1 MB, free: 39.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007749/0.5527, allocations: 22.42 kB / 382.1 MB, free: 39.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.5549, allocations: 0.7713 MB / 382.9 MB, free: 38.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.5552, allocations: 0.7309 MB / 383.6 MB, free: 37.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.5554, allocations: 18.53 kB / 383.6 MB, free: 37.62 MB / 298.7 MB Notification: Performance of SimCode: time 1.383e-06/0.5554, allocations: 0 / 383.6 MB, free: 37.62 MB / 298.7 MB Notification: Performance of Templates: time 0.1227/0.678, allocations: 1.921 MB / 385.6 MB, free: 36.65 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/jenkins1/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