Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009038/0.0009038, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001068/0.001068, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9686/0.9686, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 274.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.812e-05, allocations: 7.375 kB / 274.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002501/0.002519, allocations: 2.103 MB / 276.3 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003887/0.002908, allocations: 169.4 kB / 276.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.602e-05/0.002994, allocations: 5.938 kB / 276.4 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.003116, allocations: 35.66 kB / 276.5 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.203e-05/0.003188, allocations: 39.58 kB / 276.5 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.003324, allocations: 57.73 kB / 276.6 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.003489, allocations: 187 kB / 276.8 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.003606, allocations: 38.47 kB / 276.8 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.235e-05/0.003698, allocations: 99.83 kB / 276.9 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.911e-05/0.003797, allocations: 56.41 kB / 276.9 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.003821, allocations: 12 kB / 277 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.00384, allocations: 20 kB / 277 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.003871, allocations: 35.83 kB / 277 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.003917, allocations: 55.91 kB / 277.1 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.00407, allocations: 115.6 kB / 277.2 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004072, allocations: 0 / 277.2 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.004073, allocations: 0 / 277.2 MB, free: 1.426 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.004077, allocations: 0 / 277.2 MB, free: 1.426 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.0004277/0.004505, allocations: 495.8 kB / 277.7 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.004541, allocations: 12.03 kB / 277.7 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.004592, allocations: 32.8 kB / 277.7 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.004757, allocations: 160.3 kB / 277.9 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.00477, allocations: 12.38 kB / 277.9 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.004797, allocations: 20.33 kB / 277.9 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.004951, allocations: 164.4 kB / 278.1 MB, free: 472 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.004963, allocations: 4.125 kB / 278.1 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.004975, allocations: 12.31 kB / 278.1 MB, free: 456 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.004982, allocations: 8.125 kB / 278.1 MB, free: 448 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.898e-05/0.005051, allocations: 59.88 kB / 278.1 MB, free: 388 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007318/0.005783, allocations: 1.044 MB / 279.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.652e-05/0.00587, allocations: 121.2 kB / 279.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.005899, allocations: 35 kB / 279.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.005906, allocations: 0 / 279.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.005927, allocations: 45.47 kB / 279.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 8.02e-07/0.005928, allocations: 0 / 279.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001716/0.0061, allocations: 105.5 kB / 279.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.006142, allocations: 110.8 kB / 279.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.006248, allocations: 226.3 kB / 279.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.006259, allocations: 25.7 kB / 279.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.006331, allocations: 190.9 kB / 280 MB, free: 14.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.006359, allocations: 55.52 kB / 280.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.006404, allocations: 51.58 kB / 280.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.006516, allocations: 0.4923 MB / 280.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.251e-05/0.006538, allocations: 20.45 kB / 280.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.745e-05/0.006626, allocations: 167.9 kB / 280.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.006757, allocations: 210.7 kB / 281 MB, free: 13.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.00676, allocations: 4 kB / 281 MB, free: 13.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001635/0.006923, allocations: 185.7 kB / 281.2 MB, free: 12.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.006936, allocations: 8 kB / 281.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.006941, allocations: 0 / 281.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.006951, allocations: 8.406 kB / 281.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.135e-05/0.007042, allocations: 51.92 kB / 281.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.007047, allocations: 8 kB / 281.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.007106, allocations: 23.84 kB / 281.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.007116, allocations: 11.98 kB / 281.3 MB, free: 12.86 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 7.49e-05/0.007191, allocations: 172.5 kB / 281.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.007239, allocations: 19.97 kB / 281.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.007268, allocations: 16.34 kB / 281.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.007271, allocations: 4 kB / 281.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.007273, allocations: 0 / 281.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.007278, allocations: 3.984 kB / 281.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.007497, allocations: 153.1 kB / 281.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007498, allocations: 3.938 kB / 281.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.385e-05/0.007582, allocations: 35.92 kB / 281.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.007584, allocations: 3.938 kB / 281.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.007597, allocations: 4 kB / 281.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.0076, allocations: 4 kB / 281.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007601, allocations: 0 / 281.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.00786, allocations: 0.4903 MB / 282.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.007882, allocations: 15.84 kB / 282.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.007897, allocations: 3.938 kB / 282.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.007974, allocations: 12 kB / 282.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.007989, allocations: 7.984 kB / 282.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.007994, allocations: 3.984 kB / 282.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.346e-05/0.008047, allocations: 157.3 kB / 282.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008047, allocations: 0 / 282.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.008291, allocations: 39.95 kB / 282.4 MB, free: 11.66 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 7.894e-05/0.00837, allocations: 107.1 kB / 282.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.008489, allocations: 89.3 kB / 282.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.00849, allocations: 0 / 282.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.428e-05/0.008524, allocations: 39.59 kB / 282.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.008854, allocations: 30.77 kB / 282.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005309/0.009385, allocations: 0.5027 MB / 283.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.176e-05/0.009436, allocations: 79.84 kB / 283.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.085e-05/0.009477, allocations: 17.48 kB / 283.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/0.009549, allocations: 90.19 kB / 283.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009549, allocations: 0 / 283.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of Templates: time 0.002859/0.01241, allocations: 1.306 MB / 284.7 MB, free: 9.363 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.7222038418985903]