Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.00175/0.00175, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002151/0.002151, allocations: 214.2 kB / 24.48 MB, free: 3.844 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.474/1.474, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.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.1.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.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 55.91 kB / 379 MB, free: 2.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2357, allocations: 53.36 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003661/0.2394, allocations: 2.32 MB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005925/0.24, allocations: 255.1 kB / 434.9 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.2401, allocations: 7.938 kB / 434.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.2403, allocations: 43.56 kB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.2405, allocations: 103.1 kB / 435 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.2406, allocations: 55.92 kB / 435.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000352/0.241, allocations: 322.5 kB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.2412, allocations: 63.59 kB / 435.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.2413, allocations: 127.6 kB / 435.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.2415, allocations: 115.4 kB / 435.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.2415, allocations: 24 kB / 435.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.852e-05/0.2416, allocations: 24 kB / 435.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.2417, allocations: 59.77 kB / 435.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.2418, allocations: 123.5 kB / 435.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.2421, allocations: 324.3 kB / 436.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2421, allocations: 0 / 436.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2421, allocations: 0 / 436.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2421, allocations: 0 / 436.3 MB, free: 2.805 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.0008312/0.243, allocations: 0.5015 MB / 436.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.243, allocations: 12.03 kB / 436.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.009e-05/0.2431, allocations: 32.75 kB / 436.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.2434, allocations: 186.8 kB / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.2434, allocations: 21.03 kB / 437 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.2435, allocations: 28.36 kB / 437 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.2439, allocations: 260.4 kB / 437.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.2439, allocations: 192 / 437.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.244, allocations: 15.94 kB / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.244, allocations: 8 kB / 437.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.2443, allocations: 183.8 kB / 437.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009791/0.2452, allocations: 0.6094 MB / 438.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.2457, allocations: 264.1 kB / 438.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.2458, allocations: 117.9 kB / 438.5 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.2459, allocations: 7.984 kB / 438.5 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.2459, allocations: 34.56 kB / 438.5 MB, free: 424 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.654e-06/0.2459, allocations: 4 kB / 438.5 MB, free: 420 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002619/0.2485, allocations: 1.419 MB / 439.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.2486, allocations: 85.11 kB / 440 MB, free: 14.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.2488, allocations: 168.1 kB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.2488, allocations: 33.7 kB / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.2489, allocations: 140.8 kB / 440.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.249, allocations: 182.4 kB / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.2491, allocations: 82.19 kB / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2493, allocations: 338.8 kB / 440.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.2495, allocations: 105 kB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.2497, allocations: 156.8 kB / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/0.2501, allocations: 278.2 kB / 441.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2501, allocations: 4 kB / 441.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005621/0.2507, allocations: 373.9 kB / 441.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2507, allocations: 4 kB / 441.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2507, allocations: 0 / 441.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2507, allocations: 4 kB / 441.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.2511, allocations: 99.89 kB / 441.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.2511, allocations: 4 kB / 441.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.2512, allocations: 12 kB / 442 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.2512, allocations: 19.88 kB / 442 MB, free: 12.77 MB / 350.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.0001574/0.2514, allocations: 157.8 kB / 442.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.2515, allocations: 27.8 kB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.991e-05/0.2516, allocations: 37.97 kB / 442.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2516, allocations: 8 kB / 442.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2516, allocations: 0 / 442.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.2516, allocations: 3.984 kB / 442.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.2529, allocations: 0.8264 MB / 443 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.2529, allocations: 4 kB / 443 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.2533, allocations: 95.91 kB / 443.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.2533, allocations: 0 / 443.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.2533, allocations: 15.98 kB / 443.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.2533, allocations: 7.938 kB / 443.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2533, allocations: 0 / 443.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008054/0.2541, allocations: 0.6345 MB / 443.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.2542, allocations: 23.81 kB / 443.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.2542, allocations: 19.88 kB / 443.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.2544, allocations: 12 kB / 443.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.2545, allocations: 27.94 kB / 443.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.2545, allocations: 12 kB / 443.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.2546, allocations: 127.5 kB / 444 MB, free: 10.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2546, allocations: 0 / 444 MB, free: 10.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003955/0.255, allocations: 83.94 kB / 444.1 MB, free: 10.58 MB / 350.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.0001366/0.2551, allocations: 111.2 kB / 444.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004765/0.2556, allocations: 278.7 kB / 444.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2556, allocations: 0 / 444.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.2558, allocations: 139.8 kB / 444.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005986/0.2564, allocations: 81.88 kB / 444.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.258, allocations: 1.046 MB / 445.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.2582, allocations: 168.8 kB / 445.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.243e-05/0.2583, allocations: 27.44 kB / 445.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2583, allocations: 0 / 445.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of Templates: time 0.006333/0.2646, allocations: 3.819 MB / 449.7 MB, free: 4.855 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.372535469010472]