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.0009843/0.0009843, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001036/0.001036, allocations: 145.3 kB / 24.89 MB, free: 8.727 MB / 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.9319/0.9319, allocations: 173.4 MB / 201.5 MB, free: 8.766 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 1.352e-06/1.352e-06, allocations: 0 / 268.4 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.294e-05, allocations: 6.25 kB / 268.5 MB, free: 6.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003348/0.003371, allocations: 2.09 MB / 270.5 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005069/0.003878, allocations: 183.2 kB / 270.7 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.003986, allocations: 4 kB / 270.7 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.004121, allocations: 35.59 kB / 270.8 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.004226, allocations: 43.58 kB / 270.8 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.004381, allocations: 43.92 kB / 270.8 MB, free: 3.637 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.004594, allocations: 183.1 kB / 271 MB, free: 3.457 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.004721, allocations: 43.12 kB / 271.1 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.004981, allocations: 107.8 kB / 271.2 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.00509, allocations: 51.81 kB / 271.2 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.00512, allocations: 12 kB / 271.2 MB, free: 3.238 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.285e-05/0.005143, allocations: 16 kB / 271.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.005178, allocations: 39.83 kB / 271.3 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.005233, allocations: 51.91 kB / 271.3 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.005407, allocations: 119.5 kB / 271.5 MB, free: 3.016 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.00541, allocations: 4 kB / 271.5 MB, free: 3.012 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005411, allocations: 3.938 kB / 271.5 MB, free: 3.008 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.005414, allocations: 0 / 271.5 MB, free: 3.008 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.0004315/0.005845, allocations: 364.2 kB / 271.8 MB, free: 2.629 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.005879, allocations: 12.03 kB / 271.8 MB, free: 2.617 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.005931, allocations: 28.92 kB / 271.9 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.00611, allocations: 153.5 kB / 272 MB, free: 2.414 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.006124, allocations: 12.38 kB / 272 MB, free: 2.402 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.006157, allocations: 20.38 kB / 272 MB, free: 2.383 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.006331, allocations: 153.9 kB / 272.2 MB, free: 2.211 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.006345, allocations: 8.188 kB / 272.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.006358, allocations: 4.375 kB / 272.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.006367, allocations: 8.125 kB / 272.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.609e-05/0.006453, allocations: 55.52 kB / 272.3 MB, free: 2.141 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007971/0.007251, allocations: 0.7596 MB / 273 MB, free: 1.332 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.097e-05/0.007342, allocations: 83.83 kB / 273.1 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.007374, allocations: 30.45 kB / 273.1 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.007382, allocations: 4 kB / 273.1 MB, free: 1.18 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.007407, allocations: 42.56 kB / 273.2 MB, free: 1.129 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.007408, allocations: 0 / 273.2 MB, free: 1.129 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001901/0.007599, allocations: 94.17 kB / 273.3 MB, free: 1.031 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.007647, allocations: 102.8 kB / 273.4 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.007757, allocations: 166.4 kB / 273.5 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.007769, allocations: 29.7 kB / 273.6 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.007833, allocations: 148.1 kB / 273.7 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.007868, allocations: 51.58 kB / 273.8 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.007921, allocations: 41.92 kB / 273.8 MB, free: 456 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.75e-05/0.008009, allocations: 326.8 kB / 274.1 MB, free: 120 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-05/0.008038, allocations: 24.45 kB / 274.1 MB, free: 96 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.908e-05/0.008137, allocations: 122.6 kB / 274.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.008285, allocations: 173.5 kB / 274.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.008289, allocations: 4 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004545/0.008744, allocations: 149.5 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.008759, allocations: 8.062 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.008766, allocations: 4 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.008784, allocations: 11.98 kB / 274.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.00891, allocations: 47.92 kB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.008917, allocations: 8 kB / 274.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.846e-05/0.009006, allocations: 23.78 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.009016, allocations: 8 kB / 274.7 MB, free: 15.44 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.524e-05/0.009091, allocations: 129.7 kB / 274.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.009151, allocations: 15.92 kB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.009185, allocations: 20.33 kB / 274.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.009187, allocations: 4 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.00919, allocations: 0 / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.009195, allocations: 4 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.009495, allocations: 121.8 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.009497, allocations: 0 / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.009613, allocations: 27.98 kB / 275 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.009616, allocations: 0 / 275 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.009629, allocations: 7.938 kB / 275 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.009631, allocations: 0 / 275 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009632, allocations: 3.938 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.009839, allocations: 350 kB / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.009858, allocations: 11.94 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.009878, allocations: 7.938 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.01001, allocations: 4 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.01002, allocations: 7.984 kB / 275.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.01003, allocations: 8.062 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.079e-05/0.01007, allocations: 42.28 kB / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01007, allocations: 0 / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003539/0.01043, allocations: 47.89 kB / 275.5 MB, free: 14.59 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 8.972e-05/0.01052, allocations: 84.5 kB / 275.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.01065, allocations: 88.61 kB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.01065, allocations: 4 kB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.26e-05/0.01069, allocations: 28.78 kB / 275.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.01107, allocations: 23.98 kB / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005625/0.01163, allocations: 399.2 kB / 276.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.132e-05/0.01169, allocations: 75.98 kB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.011e-05/0.01175, allocations: 22.02 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/0.01182, allocations: 67.38 kB / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01183, allocations: 4 kB / 276.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of Templates: time 0.003588/0.01541, allocations: 1.312 MB / 277.6 MB, free: 12.45 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: 2.664424334652722]