Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 83.89 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9968/0.9968, allocations: 173.4 MB / 201.1 MB, free: 9.359 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 268 MB, free: 6.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.065e-05, allocations: 2.312 kB / 268 MB, free: 6.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003768/0.003799, allocations: 2.13 MB / 270.1 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005443/0.004343, allocations: 163.4 kB / 270.3 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.00447, allocations: 7.938 kB / 270.3 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.004627, allocations: 23.73 kB / 270.3 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.004748, allocations: 51.5 kB / 270.3 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.004952, allocations: 39.94 kB / 270.4 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.005216, allocations: 191.1 kB / 270.6 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.005384, allocations: 42.47 kB / 270.6 MB, free: 3.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.00553, allocations: 103.7 kB / 270.7 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.005668, allocations: 55.86 kB / 270.8 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.005704, allocations: 12 kB / 270.8 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.102e-05/0.005735, allocations: 16 kB / 270.8 MB, free: 3.637 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.005776, allocations: 31.84 kB / 270.8 MB, free: 3.605 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.277e-05/0.005849, allocations: 59.83 kB / 270.9 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.006084, allocations: 115.6 kB / 271 MB, free: 3.434 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.006086, allocations: 3.938 kB / 271 MB, free: 3.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.006087, allocations: 0 / 271 MB, free: 3.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.006093, allocations: 0 / 271 MB, free: 3.43 MB / 250.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.0006304/0.006723, allocations: 495.9 kB / 271.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.006771, allocations: 8.031 kB / 271.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.587e-05/0.006847, allocations: 40.73 kB / 271.5 MB, free: 2.863 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.007096, allocations: 164.3 kB / 271.7 MB, free: 2.676 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.007113, allocations: 8.375 kB / 271.7 MB, free: 2.668 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.007161, allocations: 20.38 kB / 271.7 MB, free: 2.648 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.007443, allocations: 180.2 kB / 271.9 MB, free: 2.445 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.00746, allocations: 4.141 kB / 271.9 MB, free: 2.441 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.007481, allocations: 12.31 kB / 271.9 MB, free: 2.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.007494, allocations: 8.125 kB / 271.9 MB, free: 2.422 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.007651, allocations: 71.88 kB / 272 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.008838, allocations: 1.059 MB / 273 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.008979, allocations: 113.2 kB / 273.2 MB, free: 1.07 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.784e-05/0.009037, allocations: 43.23 kB / 273.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.00905, allocations: 7.938 kB / 273.2 MB, free: 1.008 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.009081, allocations: 37.39 kB / 273.2 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 2.404e-06/0.009083, allocations: 0 / 273.2 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.000301/0.009384, allocations: 114 kB / 273.4 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.00944, allocations: 110.7 kB / 273.5 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.009612, allocations: 225.7 kB / 273.7 MB, free: 484 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.009629, allocations: 25.7 kB / 273.7 MB, free: 452 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.00973, allocations: 194.9 kB / 273.9 MB, free: 252 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.009775, allocations: 51.53 kB / 273.9 MB, free: 200 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.987e-05/0.009845, allocations: 51.59 kB / 274 MB, free: 136 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.01001, allocations: 0.4962 MB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.222e-05/0.01007, allocations: 20.45 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.01022, allocations: 171.9 kB / 274.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.01045, allocations: 222.7 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.01045, allocations: 0 / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003101/0.01076, allocations: 193.6 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.01078, allocations: 8 kB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.01079, allocations: 7.938 kB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.01081, allocations: 4 kB / 275.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.01098, allocations: 51.86 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.01099, allocations: 4 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.01109, allocations: 23.84 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.01111, allocations: 19.98 kB / 275.2 MB, free: 14.77 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.01123, allocations: 172.4 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.0113, allocations: 15.95 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.01135, allocations: 20.34 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01135, allocations: 4 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.01136, allocations: 0 / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01136, allocations: 3.984 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.01176, allocations: 184.5 kB / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01176, allocations: 0 / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.0119, allocations: 31.92 kB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.0119, allocations: 0 / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.01192, allocations: 8 kB / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.01193, allocations: 3.984 kB / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01193, allocations: 0 / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.01233, allocations: 0.5021 MB / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.01235, allocations: 15.84 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.01238, allocations: 7.984 kB / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.01252, allocations: 4 kB / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.01255, allocations: 7.984 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.01255, allocations: 4 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.01267, allocations: 160.6 kB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01267, allocations: 0 / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002483/0.01292, allocations: 43.89 kB / 276.4 MB, free: 13.53 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.358e-05/0.01302, allocations: 103.2 kB / 276.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.01317, allocations: 91.45 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01317, allocations: 0 / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.475e-05/0.0132, allocations: 43.59 kB / 276.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.01353, allocations: 31.39 kB / 276.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006082/0.01414, allocations: 0.4984 MB / 277.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.704e-05/0.01419, allocations: 68 kB / 277.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.457e-05/0.01423, allocations: 21.47 kB / 277.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.01426, allocations: 16.5 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01426, allocations: 0 / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of Templates: time 0.003993/0.01826, allocations: 1.195 MB / 278.4 MB, free: 11.42 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.040120372083038]