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.00112/0.00112, allocations: 113.2 kB / 17.73 MB, free: 5.309 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.001235/0.001235, allocations: 184.2 kB / 18.66 MB, free: 4.387 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.533/1.533, allocations: 205.1 MB / 224.5 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.001349/0.001349, allocations: 55.92 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.121, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003634/0.1247, allocations: 2.084 MB / 377.2 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006068/0.1254, allocations: 167.3 kB / 377.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002457/0.1256, allocations: 4 kB / 377.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001979/0.1259, allocations: 35.66 kB / 377.4 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.126, allocations: 39.58 kB / 377.5 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.1263, allocations: 47.94 kB / 377.5 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.1266, allocations: 183.2 kB / 377.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.1268, allocations: 62.02 kB / 377.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1269, allocations: 71.77 kB / 377.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.127, allocations: 71.64 kB / 377.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.1271, allocations: 16 kB / 377.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.411e-05/0.1271, allocations: 16 kB / 377.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.1272, allocations: 31.91 kB / 377.9 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.1273, allocations: 83.55 kB / 378 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.1275, allocations: 183.3 kB / 378.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1275, allocations: 0 / 378.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1275, allocations: 3.938 kB / 378.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1276, allocations: 0 / 378.2 MB, free: 1.484 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.0006827/0.1282, allocations: 466.9 kB / 378.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1283, allocations: 11.89 kB / 378.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.1284, allocations: 16.75 kB / 378.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.1287, allocations: 224 kB / 378.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.1287, allocations: 12.38 kB / 378.9 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.1287, allocations: 16.38 kB / 378.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.1291, allocations: 190.2 kB / 379.1 MB, free: 472 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.1291, allocations: 3.938 kB / 379.1 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.1291, allocations: 12 kB / 379.1 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.1291, allocations: 4 kB / 379.1 MB, free: 452 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.1293, allocations: 95.88 kB / 379.2 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2234/0.3527, allocations: 0.9386 MB / 380.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.3529, allocations: 105.6 kB / 380.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.176e-05/0.353, allocations: 48.05 kB / 380.3 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.353, allocations: 2.688 kB / 380.3 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.353, allocations: 41.16 kB / 380.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.284e-06/0.353, allocations: 1.25 kB / 380.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003236/0.3533, allocations: 130.6 kB / 380.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.3534, allocations: 107.5 kB / 380.6 MB, free: 12.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3536, allocations: 209 kB / 380.8 MB, free: 11.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.3536, allocations: 28.95 kB / 380.8 MB, free: 11.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/0.3537, allocations: 139.6 kB / 381 MB, free: 11.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.3537, allocations: 48.7 kB / 381 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.3538, allocations: 43.03 kB / 381.1 MB, free: 11.81 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.3539, allocations: 332.4 kB / 381.4 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.34e-05/0.3539, allocations: 39.09 kB / 381.4 MB, free: 11.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.764e-05/0.354, allocations: 142.5 kB / 381.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.3542, allocations: 195.9 kB / 381.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3542, allocations: 2.078 kB / 381.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000287/0.3545, allocations: 224.5 kB / 382 MB, free: 11.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3546, allocations: 10.81 kB / 382 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3546, allocations: 4.703 kB / 382 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.3546, allocations: 8.812 kB / 382 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.3548, allocations: 50.86 kB / 382.1 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.3548, allocations: 6.188 kB / 382.1 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.3549, allocations: 27.75 kB / 382.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.3549, allocations: 10.5 kB / 382.1 MB, free: 11.16 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 8.524e-05/0.355, allocations: 141.1 kB / 382.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.3551, allocations: 20 kB / 382.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.3552, allocations: 26.34 kB / 382.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3552, allocations: 3.516 kB / 382.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3552, allocations: 1.375 kB / 382.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3552, allocations: 0.5625 kB / 382.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/0.3556, allocations: 235.8 kB / 382.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3556, allocations: 0 / 382.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.3557, allocations: 35.62 kB / 382.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3557, allocations: 5.312 kB / 382.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3558, allocations: 12.75 kB / 382.6 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3558, allocations: 1.938 kB / 382.6 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3558, allocations: 1.375 kB / 382.6 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.356, allocations: 383.4 kB / 382.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.3561, allocations: 100.3 kB / 383 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.3561, allocations: 2.188 kB / 383 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.3563, allocations: 8.656 kB / 383.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.3563, allocations: 6.906 kB / 383.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.3563, allocations: 3.219 kB / 383.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.3565, allocations: 149.1 kB / 383.2 MB, free: 10.33 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3565, allocations: 3.281 kB / 383.2 MB, free: 10.33 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004032/0.3569, allocations: 37.7 kB / 383.2 MB, free: 10.33 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 0.0001202/0.357, allocations: 99.03 kB / 383.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.3573, allocations: 110 kB / 383.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3573, allocations: 0.5312 kB / 383.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.57e-05/0.3574, allocations: 35.97 kB / 383.5 MB, free: 10.22 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.358, allocations: 33.5 kB / 383.5 MB, free: 10.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009796/0.359, allocations: 0.6316 MB / 384.2 MB, free: 9.777 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.3591, allocations: 0.7259 MB / 384.9 MB, free: 9.074 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.111e-05/0.3592, allocations: 16.92 kB / 384.9 MB, free: 9.074 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.3593, allocations: 16.78 kB / 384.9 MB, free: 9.066 MB / 318.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3593, allocations: 7.938 kB / 384.9 MB, free: 9.059 MB / 318.1 MB Notification: Performance of Templates: time 0.004495/0.3638, allocations: 1.364 MB / 386.3 MB, free: 8.941 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/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