Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.001896/0.001896, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.00217/0.00217, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 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.439/1.439, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 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.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 47.92 kB / 371.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.225, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003765/0.2288, allocations: 2.307 MB / 426.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000543/0.2294, allocations: 266.9 kB / 426.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.2295, allocations: 4 kB / 426.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.2296, allocations: 47.5 kB / 426.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.2298, allocations: 95.19 kB / 426.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.23, allocations: 63.92 kB / 426.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.2304, allocations: 314.5 kB / 426.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.2305, allocations: 75.56 kB / 427 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.2307, allocations: 123.6 kB / 427.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.2309, allocations: 111.4 kB / 427.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.2309, allocations: 24 kB / 427.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.024e-05/0.231, allocations: 32 kB / 427.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.231, allocations: 55.78 kB / 427.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.2311, allocations: 127.4 kB / 427.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.2315, allocations: 317.6 kB / 427.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2315, allocations: 0 / 427.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2315, allocations: 0 / 427.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.2315, allocations: 0 / 427.7 MB, free: 10.52 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008422/0.2324, allocations: 0.4937 MB / 428.2 MB, free: 9.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2324, allocations: 8.031 kB / 428.2 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.2325, allocations: 32.75 kB / 428.3 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.2328, allocations: 198 kB / 428.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.2328, allocations: 17.03 kB / 428.5 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.627e-05/0.2329, allocations: 36.33 kB / 428.5 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/0.2333, allocations: 252.4 kB / 428.8 MB, free: 9.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.2333, allocations: 12.11 kB / 428.8 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.2333, allocations: 23.88 kB / 428.8 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.2334, allocations: 8 kB / 428.8 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.2337, allocations: 167.9 kB / 429 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.2347, allocations: 0.6053 MB / 429.6 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.2351, allocations: 256.3 kB / 429.8 MB, free: 8.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.2353, allocations: 113.7 kB / 429.9 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.2353, allocations: 8 kB / 429.9 MB, free: 8.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.2353, allocations: 39.19 kB / 430 MB, free: 8.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.234e-06/0.2353, allocations: 0 / 430 MB, free: 8.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002664/0.238, allocations: 1.423 MB / 431.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.2381, allocations: 81.11 kB / 431.5 MB, free: 6.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.2382, allocations: 167.3 kB / 431.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.2383, allocations: 33.64 kB / 431.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2384, allocations: 148.7 kB / 431.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.2385, allocations: 186.4 kB / 432 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.2386, allocations: 70.2 kB / 432.1 MB, free: 5.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2388, allocations: 338.8 kB / 432.4 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.239, allocations: 101 kB / 432.5 MB, free: 5.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.2392, allocations: 160.8 kB / 432.7 MB, free: 5.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004239/0.2396, allocations: 291.2 kB / 432.9 MB, free: 5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2396, allocations: 0 / 432.9 MB, free: 5 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005416/0.2402, allocations: 362.1 kB / 433.3 MB, free: 4.641 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2402, allocations: 7.938 kB / 433.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2402, allocations: 4 kB / 433.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.2402, allocations: 3.984 kB / 433.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.2406, allocations: 103.8 kB / 433.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.2406, allocations: 0 / 433.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.2407, allocations: 12 kB / 433.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.2407, allocations: 16.06 kB / 433.4 MB, free: 4.496 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.0001602/0.2409, allocations: 153.8 kB / 433.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.797e-05/0.241, allocations: 35.75 kB / 433.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.517e-05/0.2411, allocations: 33.97 kB / 433.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2411, allocations: 4 kB / 433.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2411, allocations: 4 kB / 433.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.2411, allocations: 3.984 kB / 433.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.2424, allocations: 0.8408 MB / 434.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2424, allocations: 0 / 434.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004283/0.2428, allocations: 95.89 kB / 434.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.2428, allocations: 4 kB / 434.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.2428, allocations: 12 kB / 434.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2428, allocations: 3.938 kB / 434.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.2428, allocations: 7.938 kB / 434.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.2437, allocations: 0.6356 MB / 435.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.2437, allocations: 19.86 kB / 435.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.2437, allocations: 12 kB / 435.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.2439, allocations: 11.97 kB / 435.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.244, allocations: 35.88 kB / 435.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.244, allocations: 12 kB / 435.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.907e-05/0.2441, allocations: 124.8 kB / 435.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2441, allocations: 0 / 435.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.2445, allocations: 80 kB / 435.6 MB, free: 2.301 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * 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.0001295/0.2446, allocations: 114.5 kB / 435.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004759/0.2451, allocations: 278.6 kB / 435.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2451, allocations: 4.125 kB / 435.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.2453, allocations: 150.4 kB / 436.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/0.2459, allocations: 58.38 kB / 436.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.2475, allocations: 1.054 MB / 437.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.2477, allocations: 164.8 kB / 437.4 MB, free: 440 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.061e-05/0.2477, allocations: 27.44 kB / 437.4 MB, free: 412 kB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2477, allocations: 4 kB / 437.4 MB, free: 408 kB / 334.1 MB Notification: Performance of Templates: time 0.006557/0.2543, allocations: 3.831 MB / 441.2 MB, free: 12.57 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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: 7.3566512749530375]