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.007158/0.007158, allocations: 103.4 kB / 21.98 MB, free: 5.227 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.001864/0.001864, allocations: 222.4 kB / 25.3 MB, free: 3.191 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.477/1.477, allocations: 230.6 MB / 259 MB, free: 8.031 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.001984/0.001984, allocations: 63.88 kB / 379.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2342, allocations: 53.37 MB / 433.2 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003472/0.2377, allocations: 2.127 MB / 435.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004075/0.2381, allocations: 167.3 kB / 435.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.2382, allocations: 7.938 kB / 435.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.2383, allocations: 39.66 kB / 435.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.467e-05/0.2384, allocations: 43.56 kB / 435.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.2386, allocations: 43.94 kB / 435.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.2389, allocations: 175.2 kB / 435.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.239, allocations: 42.41 kB / 435.8 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.531e-05/0.2391, allocations: 67.78 kB / 435.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.2392, allocations: 75.62 kB / 435.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.2393, allocations: 16 kB / 435.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.977e-05/0.2393, allocations: 16 kB / 436 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.2393, allocations: 31.86 kB / 436 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.567e-05/0.2394, allocations: 83.59 kB / 436.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.2397, allocations: 185.4 kB / 436.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2397, allocations: 3.938 kB / 436.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2397, allocations: 3.938 kB / 436.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2397, allocations: 0 / 436.3 MB, free: 3.828 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.000628/0.2403, allocations: 389.6 kB / 436.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2404, allocations: 8.031 kB / 436.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.2404, allocations: 20.8 kB / 436.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.2407, allocations: 158.3 kB / 436.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.2407, allocations: 20.16 kB / 436.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.2408, allocations: 24.27 kB / 436.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.2411, allocations: 182.4 kB / 437.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.2411, allocations: 7.938 kB / 437.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.2411, allocations: 8 kB / 437.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.2411, allocations: 4 kB / 437.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.2413, allocations: 99.25 kB / 437.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.2427, allocations: 0.9304 MB / 438.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.2429, allocations: 95.75 kB / 438.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.855e-05/0.2429, allocations: 42.75 kB / 438.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.2429, allocations: 0 / 438.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.243, allocations: 34.56 kB / 438.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.243, allocations: 4 kB / 438.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003357/0.2433, allocations: 133.8 kB / 438.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.2434, allocations: 106.8 kB / 438.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.2436, allocations: 203.8 kB / 438.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.2436, allocations: 29.7 kB / 438.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.2437, allocations: 148 kB / 438.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.2438, allocations: 43.64 kB / 438.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.2438, allocations: 49.89 kB / 439 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.244, allocations: 330.8 kB / 439.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.548e-05/0.244, allocations: 44.44 kB / 439.3 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.2442, allocations: 143.5 kB / 439.5 MB, free: 312 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.2445, allocations: 197.5 kB / 439.7 MB, free: 64 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2445, allocations: 0 / 439.7 MB, free: 64 kB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003431/0.2448, allocations: 213.2 kB / 439.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.2448, allocations: 8 kB / 439.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.2448, allocations: 4 kB / 439.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.2448, allocations: 4 kB / 439.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.245, allocations: 55.86 kB / 439.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.245, allocations: 7.984 kB / 440 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.2452, allocations: 36.08 kB / 440 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.2452, allocations: 12 kB / 440 MB, free: 15.72 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.0001124/0.2453, allocations: 137.7 kB / 440.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.683e-05/0.2454, allocations: 15.91 kB / 440.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.989e-05/0.2454, allocations: 24.95 kB / 440.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.2454, allocations: 4 kB / 440.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2454, allocations: 3.938 kB / 440.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2454, allocations: 3.938 kB / 440.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.2459, allocations: 212.6 kB / 440.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2459, allocations: 0 / 440.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.246, allocations: 35.92 kB / 440.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.246, allocations: 4 kB / 440.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.246, allocations: 0 / 440.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.246, allocations: 0 / 440.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.246, allocations: 4 kB / 440.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.2464, allocations: 386.1 kB / 440.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.2464, allocations: 23.95 kB / 440.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.2465, allocations: 4 kB / 440.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.2466, allocations: 7.938 kB / 440.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.2466, allocations: 11.92 kB / 440.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.2466, allocations: 4 kB / 440.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.2468, allocations: 153.4 kB / 441 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2468, allocations: 0 / 441 MB, free: 14.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000382/0.2472, allocations: 47.89 kB / 441.1 MB, free: 14.59 MB / 350.1 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.0001077/0.2473, allocations: 99.25 kB / 441.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.2475, allocations: 107.8 kB / 441.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2475, allocations: 0 / 441.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.427e-05/0.2476, allocations: 31.92 kB / 441.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.2481, allocations: 35.59 kB / 441.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.2491, allocations: 0.6554 MB / 442 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.2495, allocations: 0.7242 MB / 442.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.2496, allocations: 19.44 kB / 442.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2496, allocations: 0 / 442.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of Templates: time 0.003983/0.2535, allocations: 2.011 MB / 444.7 MB, free: 10.84 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 6.952639388851821]