Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 200.2 kB / 8.537 MB, free: 460 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 225.5 MB / 234.4 MB, free: 9.465 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001095, allocations: 100.1 kB / 286.3 MB, free: 5.852 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 1.317e-05/1.333e-05, allocations: 3.938 kB / 343.1 MB, free: 13.05 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3835, allocations: 51.46 MB / 394.6 MB, free: 47.35 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.4948, allocations: 77.26 MB / 471.8 MB, free: 14.65 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.4951, allocations: 59.97 kB / 471.9 MB, free: 14.59 MB / 354.8 MB Notification: Performance of FrontEnd: time 0.01321/0.5083, allocations: 4.355 MB / 476.3 MB, free: 10.3 MB / 354.8 MB Notification: Performance of Transformations before backend: time 2.428e-05/0.5084, allocations: 12 kB / 476.3 MB, free: 10.29 MB / 354.8 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.0008564/0.5093, allocations: 0.4983 MB / 476.8 MB, free: 9.75 MB / 354.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.5093, allocations: 8.031 kB / 476.8 MB, free: 9.742 MB / 354.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.5094, allocations: 31.62 kB / 476.8 MB, free: 9.711 MB / 354.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.5098, allocations: 234.8 kB / 477 MB, free: 9.441 MB / 354.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.5098, allocations: 8 kB / 477 MB, free: 9.434 MB / 354.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.288e-05/0.5099, allocations: 24.75 kB / 477.1 MB, free: 9.41 MB / 354.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003487/0.5102, allocations: 153.3 kB / 477.2 MB, free: 9.258 MB / 354.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.5106, allocations: 206.5 kB / 477.4 MB, free: 9.043 MB / 354.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.5106, allocations: 3.984 kB / 477.4 MB, free: 9.039 MB / 354.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.5107, allocations: 5.094 kB / 477.4 MB, free: 9.035 MB / 354.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.5107, allocations: 8 kB / 477.4 MB, free: 9.027 MB / 354.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.5118, allocations: 0.6995 MB / 478.1 MB, free: 8.285 MB / 354.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.5121, allocations: 179.4 kB / 478.3 MB, free: 8.098 MB / 354.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.5123, allocations: 111.6 kB / 478.4 MB, free: 7.984 MB / 354.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.5123, allocations: 9.875 kB / 478.4 MB, free: 7.977 MB / 354.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.5124, allocations: 38.47 kB / 478.5 MB, free: 7.93 MB / 354.8 MB Notification: Performance of pre-optimization done (n=36): time 1.754e-06/0.5124, allocations: 0 / 478.5 MB, free: 7.93 MB / 354.8 MB Notification: Performance of matching and sorting (n=48): time 0.002537/0.5149, allocations: 1.481 MB / 479.9 MB, free: 6.277 MB / 354.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.515, allocations: 81.11 kB / 480 MB, free: 6.18 MB / 354.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.5152, allocations: 145.2 kB / 480.2 MB, free: 6.031 MB / 354.8 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.5152, allocations: 29.7 kB / 480.2 MB, free: 5.996 MB / 354.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.5154, allocations: 128.6 kB / 480.3 MB, free: 5.867 MB / 354.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.5156, allocations: 165.4 kB / 480.5 MB, free: 5.703 MB / 354.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.5156, allocations: 0 / 480.5 MB, free: 5.703 MB / 354.8 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.5157, allocations: 338.8 kB / 480.8 MB, free: 5.363 MB / 354.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.5159, allocations: 93 kB / 480.9 MB, free: 5.27 MB / 354.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.5162, allocations: 135.8 kB / 481 MB, free: 5.125 MB / 354.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.5164, allocations: 119.2 kB / 481.2 MB, free: 5.012 MB / 354.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5164, allocations: 2.438 kB / 481.2 MB, free: 5.012 MB / 354.8 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005244/0.5169, allocations: 318.3 kB / 481.5 MB, free: 4.695 MB / 354.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.5169, allocations: 8.062 kB / 481.5 MB, free: 4.688 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.517, allocations: 0 / 481.5 MB, free: 4.688 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.517, allocations: 4 kB / 481.5 MB, free: 4.684 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.5174, allocations: 103.9 kB / 481.6 MB, free: 4.582 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.5175, allocations: 3.938 kB / 481.6 MB, free: 4.578 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.5176, allocations: 4 kB / 481.6 MB, free: 4.574 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.5176, allocations: 12 kB / 481.6 MB, free: 4.562 MB / 354.8 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.5177, allocations: 112.9 kB / 481.7 MB, free: 4.445 MB / 354.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-05/0.5178, allocations: 27.62 kB / 481.7 MB, free: 4.418 MB / 354.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.325e-05/0.5179, allocations: 40.36 kB / 481.8 MB, free: 4.387 MB / 354.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.5179, allocations: 8 kB / 481.8 MB, free: 4.379 MB / 354.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.518, allocations: 0 / 481.8 MB, free: 4.379 MB / 354.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.518, allocations: 3.984 kB / 481.8 MB, free: 4.375 MB / 354.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.5194, allocations: 0.8545 MB / 482.6 MB, free: 3.469 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.5194, allocations: 4 kB / 482.6 MB, free: 3.465 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.5199, allocations: 99.88 kB / 482.7 MB, free: 3.367 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.5199, allocations: 4 kB / 482.7 MB, free: 3.363 MB / 354.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.5199, allocations: 4.062 kB / 482.8 MB, free: 3.359 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.52, allocations: 7.938 kB / 482.8 MB, free: 3.352 MB / 354.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.52, allocations: 3.938 kB / 482.8 MB, free: 3.348 MB / 354.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008797/0.5209, allocations: 0.6323 MB / 483.4 MB, free: 2.672 MB / 354.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.521, allocations: 96.83 kB / 483.5 MB, free: 2.559 MB / 354.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.521, allocations: 4 kB / 483.5 MB, free: 2.555 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.5212, allocations: 3.984 kB / 483.5 MB, free: 2.551 MB / 354.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.5213, allocations: 28.53 kB / 483.5 MB, free: 2.523 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.5213, allocations: 12 kB / 483.5 MB, free: 2.512 MB / 354.8 MB Notification: Performance of sort global known variables: time 9.327e-05/0.5214, allocations: 115.2 kB / 483.7 MB, free: 2.398 MB / 354.8 MB Notification: Performance of remove unused functions: time 0.0003957/0.5218, allocations: 64 kB / 483.7 MB, free: 2.336 MB / 354.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002059/0.522, allocations: 111.2 kB / 483.8 MB, free: 2.215 MB / 354.8 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.5225, allocations: 259.7 kB / 484.1 MB, free: 1.961 MB / 354.8 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5225, allocations: 4 kB / 484.1 MB, free: 1.957 MB / 354.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.5228, allocations: 144.9 kB / 484.2 MB, free: 1.816 MB / 354.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000488/0.5232, allocations: 41.55 kB / 484.3 MB, free: 1.777 MB / 354.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.5249, allocations: 0.8332 MB / 485.1 MB, free: 0.9297 MB / 354.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006121/0.5255, allocations: 0.8187 MB / 485.9 MB, free: 96 kB / 354.8 MB Notification: Performance of SimCode: time 4.71e-07/0.5255, allocations: 0 / 485.9 MB, free: 96 kB / 354.8 MB Notification: Performance of Templates: time 0.007869/0.5334, allocations: 3.083 MB / 489 MB, free: 13.08 MB / 370.8 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches