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.001468/0.001468, allocations: 102.6 kB / 21.93 MB, free: 5.203 MB / 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.001698/0.001698, allocations: 202.2 kB / 25.22 MB, free: 3.141 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.578/1.578, allocations: 207.7 MB / 236.1 MB, free: 9.781 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.002194/0.002194, allocations: 55.92 kB / 348.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.341, allocations: 49.17 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003338/0.3443, allocations: 2.002 MB / 399.6 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003777/0.3447, allocations: 152.8 kB / 399.7 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.3448, allocations: 6.656 kB / 399.7 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.345, allocations: 34.38 kB / 399.8 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.498e-05/0.3451, allocations: 46.69 kB / 399.8 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.3453, allocations: 43.42 kB / 399.9 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.3455, allocations: 176.5 kB / 400 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.3457, allocations: 40.05 kB / 400.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.557e-05/0.3458, allocations: 77.52 kB / 400.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.3459, allocations: 63.05 kB / 400.2 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.3459, allocations: 14.47 kB / 400.2 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.396e-05/0.346, allocations: 16.56 kB / 400.2 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.86e-05/0.346, allocations: 39.36 kB / 400.3 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.663e-05/0.3461, allocations: 68.62 kB / 400.4 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.3463, allocations: 180 kB / 400.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3464, allocations: 0.7969 kB / 400.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3464, allocations: 0 / 400.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.3464, allocations: 1.344 kB / 400.5 MB, free: 7.555 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.0005984/0.347, allocations: 395.3 kB / 400.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.347, allocations: 17.39 kB / 400.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.3471, allocations: 22.44 kB / 401 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.3473, allocations: 159.5 kB / 401.1 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.3473, allocations: 15.78 kB / 401.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.3474, allocations: 15 kB / 401.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.3477, allocations: 182.1 kB / 401.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.3477, allocations: 6.031 kB / 401.3 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.3477, allocations: 9.469 kB / 401.3 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3477, allocations: 4.562 kB / 401.3 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.3479, allocations: 102 kB / 401.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.349, allocations: 0.8469 MB / 402.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.3491, allocations: 100.2 kB / 402.4 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.3491, allocations: 38.31 kB / 402.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.3492, allocations: 6.031 kB / 402.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.3492, allocations: 38.03 kB / 402.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.3492, allocations: 0 / 402.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002968/0.3495, allocations: 121.2 kB / 402.6 MB, free: 5.887 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.3495, allocations: 106.4 kB / 402.7 MB, free: 5.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.3497, allocations: 174.2 kB / 402.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.3497, allocations: 31.25 kB / 402.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.3497, allocations: 150 kB / 403 MB, free: 5.461 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.3498, allocations: 50.08 kB / 403.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.3498, allocations: 44.91 kB / 403.1 MB, free: 5.391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.3499, allocations: 332.1 kB / 403.5 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.803e-05/0.35, allocations: 37.02 kB / 403.5 MB, free: 5.055 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.3501, allocations: 143.3 kB / 403.6 MB, free: 4.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.3503, allocations: 205 kB / 403.8 MB, free: 4.723 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3503, allocations: 1.094 kB / 403.8 MB, free: 4.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002952/0.3506, allocations: 213.4 kB / 404 MB, free: 4.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3506, allocations: 7.281 kB / 404 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3506, allocations: 4.172 kB / 404 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.3506, allocations: 4.781 kB / 404.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.3508, allocations: 48.86 kB / 404.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.3508, allocations: 10.36 kB / 404.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3509, allocations: 30.58 kB / 404.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.3509, allocations: 14.44 kB / 404.2 MB, free: 4.582 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.48e-05/0.351, allocations: 135.8 kB / 404.3 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.3511, allocations: 14.72 kB / 404.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.3511, allocations: 19.19 kB / 404.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3511, allocations: 2 kB / 404.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3511, allocations: 1.5 kB / 404.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3511, allocations: 1.812 kB / 404.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.3514, allocations: 171.6 kB / 404.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3514, allocations: 1.312 kB / 404.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.3516, allocations: 36.38 kB / 404.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3516, allocations: 1.375 kB / 404.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3516, allocations: 1.875 kB / 404.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3516, allocations: 2.109 kB / 404.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3516, allocations: 1.75 kB / 404.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.3519, allocations: 396.5 kB / 404.9 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.3519, allocations: 9.094 kB / 404.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.3519, allocations: 6.672 kB / 404.9 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.3521, allocations: 1.797 kB / 404.9 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.3521, allocations: 12.39 kB / 405 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.3521, allocations: 7.469 kB / 405 MB, free: 3.914 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.722e-05/0.3522, allocations: 117.1 kB / 405.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3522, allocations: 0 / 405.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003686/0.3526, allocations: 48.48 kB / 405.1 MB, free: 3.812 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 8.844e-05/0.3526, allocations: 101.9 kB / 405.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.3529, allocations: 103.2 kB / 405.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3529, allocations: 192 / 405.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.014e-05/0.3529, allocations: 39.55 kB / 405.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.3534, allocations: 23.55 kB / 405.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009162/0.3543, allocations: 0.6537 MB / 406 MB, free: 3.129 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.3544, allocations: 116.1 kB / 406.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.3545, allocations: 17.81 kB / 406.2 MB, free: 3.047 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3545, allocations: 0 / 406.2 MB, free: 3.047 MB / 318.1 MB Notification: Performance of Templates: time 0.004372/0.3588, allocations: 1.937 MB / 408.1 MB, free: 2.848 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.215882547199726]