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.002436/0.002436, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.002688/0.002688, allocations: 153.1 kB / 24.27 MB, free: 168 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 1.53/1.53, allocations: 173.3 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] 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 1.403e-06/1.403e-06, allocations: 0 / 267.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.664e-05, allocations: 2.312 kB / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003663/0.003689, allocations: 2.088 MB / 269.4 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003844/0.004074, allocations: 151.4 kB / 269.5 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.004185, allocations: 7.938 kB / 269.5 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.004333, allocations: 27.72 kB / 269.6 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.004446, allocations: 55.5 kB / 269.6 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.004612, allocations: 43.88 kB / 269.7 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.00489, allocations: 191.1 kB / 269.9 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.005038, allocations: 42.45 kB / 269.9 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.005205, allocations: 99.78 kB / 270 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.005328, allocations: 51.86 kB / 270 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.005364, allocations: 16 kB / 270.1 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.608e-05/0.0054, allocations: 16 kB / 270.1 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.005443, allocations: 39.78 kB / 270.1 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.165e-05/0.005525, allocations: 55.84 kB / 270.2 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.0058, allocations: 179.4 kB / 270.3 MB, free: 3.695 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.005803, allocations: 7.938 kB / 270.4 MB, free: 3.688 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005803, allocations: 0 / 270.4 MB, free: 3.688 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.005808, allocations: 0 / 270.4 MB, free: 3.688 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.0007502/0.006558, allocations: 495.5 kB / 270.8 MB, free: 3.168 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.006591, allocations: 16.03 kB / 270.9 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.12e-05/0.006673, allocations: 36.8 kB / 270.9 MB, free: 3.117 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.006922, allocations: 156.4 kB / 271 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.006944, allocations: 16.31 kB / 271.1 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.554e-05/0.007, allocations: 20.38 kB / 271.1 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.007358, allocations: 204.2 kB / 271.3 MB, free: 2.676 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.007378, allocations: 8.141 kB / 271.3 MB, free: 2.668 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.007396, allocations: 4.375 kB / 271.3 MB, free: 2.664 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.007406, allocations: 8.125 kB / 271.3 MB, free: 2.656 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.00761, allocations: 99.88 kB / 271.4 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.009365, allocations: 1.117 MB / 272.5 MB, free: 1.367 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.009558, allocations: 129.3 kB / 272.6 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.009629, allocations: 43.06 kB / 272.7 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.009643, allocations: 4 kB / 272.7 MB, free: 1.145 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.00968, allocations: 45.41 kB / 272.7 MB, free: 1.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.009681, allocations: 0 / 272.7 MB, free: 1.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003461/0.01003, allocations: 126 kB / 272.9 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.122e-05/0.01011, allocations: 110.8 kB / 273 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.01034, allocations: 241.7 kB / 273.2 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.01037, allocations: 29.7 kB / 273.2 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.01051, allocations: 194.9 kB / 273.4 MB, free: 352 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.01057, allocations: 59.47 kB / 273.5 MB, free: 292 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.617e-05/0.01065, allocations: 59.59 kB / 273.5 MB, free: 220 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002973/0.01095, allocations: 0.5001 MB / 274 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.532e-05/0.01103, allocations: 36.45 kB / 274.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.01125, allocations: 191.9 kB / 274.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.01157, allocations: 258.7 kB / 274.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01157, allocations: 0 / 274.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003686/0.01194, allocations: 225.2 kB / 274.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.01196, allocations: 8 kB / 274.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.01196, allocations: 7.938 kB / 274.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.01198, allocations: 4 kB / 274.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.01215, allocations: 52.33 kB / 274.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.01216, allocations: 15.92 kB / 274.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.01227, allocations: 19.84 kB / 274.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.01228, allocations: 12 kB / 274.8 MB, free: 14.75 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.0001496/0.01243, allocations: 184.4 kB / 275 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/0.0125, allocations: 15.95 kB / 275 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.01256, allocations: 20.33 kB / 275.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01256, allocations: 0 / 275.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01256, allocations: 0 / 275.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.01257, allocations: 4 kB / 275.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.013, allocations: 204.5 kB / 275.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.013, allocations: 4 kB / 275.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.01316, allocations: 31.92 kB / 275.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01316, allocations: 0 / 275.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.01318, allocations: 8 kB / 275.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01318, allocations: 0 / 275.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01318, allocations: 0 / 275.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.01366, allocations: 0.5177 MB / 275.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.01369, allocations: 23.83 kB / 275.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.01371, allocations: 3.938 kB / 275.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.01387, allocations: 8 kB / 275.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.01389, allocations: 12.12 kB / 275.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.0139, allocations: 0 / 275.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001344/0.01403, allocations: 176.6 kB / 276 MB, free: 13.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01403, allocations: 0 / 276 MB, free: 13.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.0144, allocations: 36 kB / 276.1 MB, free: 13.45 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 0.0001213/0.01452, allocations: 106.5 kB / 276.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002599/0.01478, allocations: 124.2 kB / 276.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01478, allocations: 4 kB / 276.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.306e-05/0.01485, allocations: 47.61 kB / 276.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.01534, allocations: 30.58 kB / 276.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009274/0.01627, allocations: 0.514 MB / 276.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.0164, allocations: 112.2 kB / 277 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.131e-05/0.01646, allocations: 21.42 kB / 277 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.0165, allocations: 12.5 kB / 277 MB, free: 12.42 MB / 266.7 MB Notification: Performance of SimCode: time 4.6e-07/0.0165, allocations: 4 kB / 277 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Templates: time 0.00458/0.02108, allocations: 1.188 MB / 278.2 MB, free: 11.24 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.420439691981301]