Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001536/0.001536, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001657/0.001657, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.425/1.425, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.83 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2114, allocations: 53.32 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003478/0.2149, allocations: 2.13 MB / 434.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000428/0.2153, allocations: 171.3 kB / 434.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.2154, allocations: 4 kB / 434.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.2156, allocations: 31.66 kB / 434.4 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.2157, allocations: 47.56 kB / 434.4 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.2159, allocations: 43.95 kB / 434.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.2161, allocations: 175.2 kB / 434.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.2162, allocations: 50.28 kB / 434.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.978e-05/0.2163, allocations: 59.8 kB / 434.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.2165, allocations: 75.61 kB / 434.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.2165, allocations: 16 kB / 434.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.976e-05/0.2165, allocations: 12 kB / 434.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.2166, allocations: 35.86 kB / 434.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.04e-05/0.2166, allocations: 79.61 kB / 435 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.2169, allocations: 189.1 kB / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2169, allocations: 0 / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2169, allocations: 3.938 kB / 435.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.2169, allocations: 0 / 435.1 MB, free: 4.273 MB / 334.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.0006503/0.2175, allocations: 462.7 kB / 435.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2176, allocations: 12.03 kB / 435.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.2176, allocations: 20.8 kB / 435.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.2179, allocations: 220.2 kB / 435.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.2179, allocations: 12.16 kB / 435.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.218, allocations: 24.33 kB / 435.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.2183, allocations: 182.4 kB / 436.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.2183, allocations: 7.938 kB / 436.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.2183, allocations: 8 kB / 436.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.2183, allocations: 8 kB / 436.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.2185, allocations: 103.9 kB / 436.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.2198, allocations: 0.9509 MB / 437.1 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.22, allocations: 99.83 kB / 437.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.047e-05/0.22, allocations: 38.66 kB / 437.3 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.22, allocations: 11.94 kB / 437.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.2201, allocations: 34.56 kB / 437.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.2201, allocations: 0 / 437.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003097/0.2204, allocations: 133.4 kB / 437.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.2204, allocations: 102.8 kB / 437.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.2206, allocations: 204.8 kB / 437.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.2207, allocations: 29.7 kB / 437.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2208, allocations: 152.1 kB / 437.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.2208, allocations: 47.58 kB / 438 MB, free: 1.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.2209, allocations: 53.83 kB / 438 MB, free: 1.098 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.221, allocations: 326.8 kB / 438.3 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.116e-05/0.2211, allocations: 40.45 kB / 438.4 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.2212, allocations: 142.6 kB / 438.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.2215, allocations: 206 kB / 438.7 MB, free: 300 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2215, allocations: 0 / 438.7 MB, free: 300 kB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003278/0.2218, allocations: 213.5 kB / 438.9 MB, free: 80 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2218, allocations: 11.98 kB / 438.9 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2218, allocations: 4 kB / 438.9 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2218, allocations: 4 kB / 438.9 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.222, allocations: 47.92 kB / 439 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.222, allocations: 11.94 kB / 439 MB, free: 0 / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.2221, allocations: 31.92 kB / 439 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.2222, allocations: 11.75 kB / 439 MB, free: 15.96 MB / 350.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 0.0001135/0.2223, allocations: 137.9 kB / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.626e-05/0.2224, allocations: 19.89 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.2224, allocations: 16.94 kB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2224, allocations: 0 / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2224, allocations: 0 / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/0.2225, allocations: 108.9 kB / 439.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.2225, allocations: 0 / 439.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2227, allocations: 4 kB / 439.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.2227, allocations: 11.98 kB / 439.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000404/0.2231, allocations: 355.3 kB / 439.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003796/0.2235, allocations: 469.1 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.992e-05/0.2235, allocations: 36.3 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.2236, allocations: 152.5 kB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of Backend: time 2.5e-07/0.2236, allocations: 0 / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005925/0.2242, allocations: 162.1 kB / 440.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of SimCode: time 0.001267/0.2255, allocations: 1.092 MB / 441.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of Templates: time 0.004835/0.2303, allocations: 1.73 MB / 443.3 MB, free: 11.59 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.110052946954966]