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.001499/0.001499, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001659/0.001659, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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 1.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 7.996 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+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 0.001529/0.001529, allocations: 51.91 kB / 379 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2449, allocations: 53.36 MB / 432.4 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003437/0.2484, allocations: 2.141 MB / 434.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004169/0.2488, allocations: 171.3 kB / 434.7 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.2489, allocations: 8 kB / 434.7 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.249, allocations: 27.66 kB / 434.7 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.406e-05/0.2491, allocations: 43.58 kB / 434.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.2493, allocations: 35.95 kB / 434.8 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.2496, allocations: 183.2 kB / 435 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.2497, allocations: 46.41 kB / 435 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.2498, allocations: 67.78 kB / 435.1 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.2499, allocations: 79.62 kB / 435.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.25, allocations: 12 kB / 435.2 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.786e-05/0.25, allocations: 12 kB / 435.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.25, allocations: 39.84 kB / 435.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.265e-05/0.2501, allocations: 83.55 kB / 435.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.2504, allocations: 184.7 kB / 435.5 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2504, allocations: 4 kB / 435.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2504, allocations: 0 / 435.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.2504, allocations: 0 / 435.5 MB, free: 3.977 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.0006201/0.251, allocations: 385.6 kB / 435.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.251, allocations: 8.031 kB / 435.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.2511, allocations: 24.8 kB / 435.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.2514, allocations: 154.3 kB / 436.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.2514, allocations: 16.16 kB / 436.1 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.2514, allocations: 20.33 kB / 436.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.2518, allocations: 186.4 kB / 436.3 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.2518, allocations: 3.938 kB / 436.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.2518, allocations: 8 kB / 436.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2518, allocations: 4 kB / 436.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.252, allocations: 99.88 kB / 436.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.2533, allocations: 0.9304 MB / 437.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.2535, allocations: 103.8 kB / 437.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.182e-05/0.2535, allocations: 38.66 kB / 437.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.2535, allocations: 4 kB / 437.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.2536, allocations: 34.56 kB / 437.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.2536, allocations: 0 / 437.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003332/0.2539, allocations: 129.4 kB / 437.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.254, allocations: 110.8 kB / 437.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.2542, allocations: 203.8 kB / 437.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.2542, allocations: 29.7 kB / 438 MB, free: 1.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.2543, allocations: 136.1 kB / 438.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.2543, allocations: 59.55 kB / 438.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.671e-05/0.2544, allocations: 45.91 kB / 438.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2546, allocations: 334.8 kB / 438.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.959e-05/0.2546, allocations: 36.45 kB / 438.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.2548, allocations: 146.6 kB / 438.7 MB, free: 468 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.255, allocations: 198.1 kB / 438.9 MB, free: 220 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.255, allocations: 0 / 438.9 MB, free: 220 kB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003461/0.2554, allocations: 225.2 kB / 439.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2554, allocations: 4 kB / 439.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2554, allocations: 4 kB / 439.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.2554, allocations: 11.98 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.2556, allocations: 43.92 kB / 439.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.2556, allocations: 8 kB / 439.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.2557, allocations: 36.08 kB / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.2557, allocations: 12 kB / 439.2 MB, free: 15.87 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.000117/0.2559, allocations: 133.7 kB / 439.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.2559, allocations: 19.91 kB / 439.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.256, allocations: 25.02 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.256, allocations: 0 / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.256, allocations: 4 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.256, allocations: 7.938 kB / 439.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.2564, allocations: 212.5 kB / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2564, allocations: 4 kB / 439.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.2566, allocations: 31.92 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2566, allocations: 0 / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.2566, allocations: 8 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2566, allocations: 3.938 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2566, allocations: 0 / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.257, allocations: 389.8 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.257, allocations: 15.91 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.257, allocations: 8.047 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.2572, allocations: 4 kB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.2572, allocations: 11.92 kB / 440.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.2572, allocations: 0 / 440.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.2573, allocations: 157.5 kB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2573, allocations: 0 / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003747/0.2577, allocations: 43.89 kB / 440.3 MB, free: 14.74 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.0001186/0.2578, allocations: 99.25 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.258, allocations: 107.7 kB / 440.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.258, allocations: 0 / 440.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.506e-05/0.2581, allocations: 39.92 kB / 440.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.2586, allocations: 29.55 kB / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2597, allocations: 0.6548 MB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.2601, allocations: 0.7242 MB / 441.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.2602, allocations: 19.44 kB / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2602, allocations: 0 / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of Templates: time 0.003811/0.264, allocations: 2.018 MB / 444 MB, free: 10.98 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.732619007118046]