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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 215.2 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002551/0.002551, allocations: 51.92 kB / 347.7 MB, free: 9.477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3436, allocations: 49.16 MB / 396.8 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003039/0.3466, allocations: 1.984 MB / 398.8 MB, free: 8.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000356/0.347, allocations: 160.1 kB / 399 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.899e-05/0.3471, allocations: 7.938 kB / 399 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.3472, allocations: 25.77 kB / 399 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.119e-05/0.3473, allocations: 56.25 kB / 399.1 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.3475, allocations: 42.53 kB / 399.1 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.3477, allocations: 176.6 kB / 399.3 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3478, allocations: 47.88 kB / 399.3 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.861e-05/0.3479, allocations: 70.48 kB / 399.4 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.348, allocations: 58.02 kB / 399.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.348, allocations: 14.69 kB / 399.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.976e-05/0.3481, allocations: 13.22 kB / 399.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.3481, allocations: 37.67 kB / 399.5 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.113e-05/0.3482, allocations: 73.16 kB / 399.6 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.3484, allocations: 178.9 kB / 399.8 MB, free: 7.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3484, allocations: 1.062 kB / 399.8 MB, free: 7.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3484, allocations: 0 / 399.8 MB, free: 7.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3484, allocations: 0 / 399.8 MB, free: 7.527 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.0005305/0.3489, allocations: 405.2 kB / 400.2 MB, free: 7.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.349, allocations: 12.48 kB / 400.2 MB, free: 7.176 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.349, allocations: 18.47 kB / 400.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.3492, allocations: 160.1 kB / 400.4 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3492, allocations: 11.16 kB / 400.4 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.3493, allocations: 19.81 kB / 400.4 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.3496, allocations: 185.5 kB / 400.6 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.3496, allocations: 5.969 kB / 400.6 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.3496, allocations: 6.781 kB / 400.6 MB, free: 6.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.3496, allocations: 7.672 kB / 400.6 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.3498, allocations: 101.8 kB / 400.7 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009718/0.3507, allocations: 0.8502 MB / 401.5 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.3509, allocations: 100.3 kB / 401.6 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.3509, allocations: 42.91 kB / 401.7 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.3509, allocations: 1.703 kB / 401.7 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.3509, allocations: 34.59 kB / 401.7 MB, free: 5.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.3509, allocations: 0 / 401.7 MB, free: 5.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002719/0.3512, allocations: 121.9 kB / 401.8 MB, free: 5.855 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.3512, allocations: 109.9 kB / 401.9 MB, free: 5.727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.3514, allocations: 167 kB / 402.1 MB, free: 5.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.3514, allocations: 25.7 kB / 402.1 MB, free: 5.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.3514, allocations: 157.6 kB / 402.3 MB, free: 5.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.3515, allocations: 55.77 kB / 402.3 MB, free: 5.387 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.3515, allocations: 52.39 kB / 402.4 MB, free: 5.348 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.945e-05/0.3516, allocations: 330 kB / 402.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.391e-05/0.3516, allocations: 38.47 kB / 402.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.352e-05/0.3517, allocations: 137.5 kB / 402.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.3519, allocations: 204.9 kB / 403.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3519, allocations: 1.125 kB / 403.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000276/0.3522, allocations: 211.5 kB / 403.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3522, allocations: 5.844 kB / 403.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3522, allocations: 4.922 kB / 403.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3522, allocations: 4.531 kB / 403.3 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.3524, allocations: 48.38 kB / 403.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.3524, allocations: 10.17 kB / 403.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.3525, allocations: 27.03 kB / 403.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.3525, allocations: 13.41 kB / 403.4 MB, free: 4.551 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.048e-05/0.3526, allocations: 135.9 kB / 403.5 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.3527, allocations: 16.14 kB / 403.5 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.3527, allocations: 17.69 kB / 403.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3527, allocations: 2.375 kB / 403.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3527, allocations: 1.094 kB / 403.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3527, allocations: 1.844 kB / 403.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.3531, allocations: 171.9 kB / 403.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3531, allocations: 1.094 kB / 403.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.3532, allocations: 27.44 kB / 403.8 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3532, allocations: 6.875 kB / 403.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3532, allocations: 5.344 kB / 403.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.3532, allocations: 5.594 kB / 403.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3532, allocations: 1.062 kB / 403.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.3535, allocations: 382.5 kB / 404.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.3535, allocations: 13.36 kB / 404.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.3535, allocations: 7.016 kB / 404.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.3537, allocations: 1.25 kB / 404.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.3537, allocations: 11.88 kB / 404.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.3537, allocations: 4.094 kB / 404.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.234e-05/0.3538, allocations: 121.5 kB / 404.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3538, allocations: 4 kB / 404.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003788/0.3542, allocations: 48.52 kB / 404.4 MB, free: 3.785 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 7.921e-05/0.3542, allocations: 93.23 kB / 404.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.3545, allocations: 110 kB / 404.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.3545, allocations: 0.8125 kB / 404.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.083e-05/0.3546, allocations: 34.95 kB / 404.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.3551, allocations: 37.56 kB / 404.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008901/0.3559, allocations: 0.6232 MB / 405.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.356, allocations: 116.8 kB / 405.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.272e-05/0.3561, allocations: 17.09 kB / 405.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.3562, allocations: 15.44 kB / 405.4 MB, free: 3.031 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3562, allocations: 0 / 405.4 MB, free: 3.031 MB / 318.1 MB Notification: Performance of Templates: time 0.004984/0.3612, allocations: 1.339 MB / 406.7 MB, free: 2.824 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.753552172333002]