Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.001892/0.001892, allocations: 177.1 kB / 8.475 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.2 MB / 214.1 MB, free: 5.09 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 91.28 kB / 262.1 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.787e-06, allocations: 4 kB / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 47.58 MB / 362.5 MB, free: 9.949 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.496, allocations: 75.23 MB / 437.8 MB, free: 10.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.4963, allocations: 66.64 kB / 437.8 MB, free: 10.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01203/0.5084, allocations: 4.209 MB / 442 MB, free: 10.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.387e-05/0.5084, allocations: 7.688 kB / 442.1 MB, free: 10.5 MB / 314.7 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.000893/0.5093, allocations: 0.4949 MB / 442.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.5094, allocations: 8.391 kB / 442.6 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.5096, allocations: 31 kB / 442.6 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.5099, allocations: 234.1 kB / 442.8 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.51, allocations: 11.53 kB / 442.8 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.51, allocations: 20.09 kB / 442.8 MB, free: 9.855 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004052/0.5105, allocations: 150.1 kB / 443 MB, free: 9.852 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.5109, allocations: 212 kB / 443.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.5109, allocations: 4.359 kB / 443.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.511, allocations: 6.078 kB / 443.2 MB, free: 9.789 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.511, allocations: 3.906 kB / 443.2 MB, free: 9.789 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.5123, allocations: 0.6978 MB / 443.9 MB, free: 9.422 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.5126, allocations: 188.5 kB / 444.1 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.5127, allocations: 104 kB / 444.2 MB, free: 9.371 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.5128, allocations: 4.281 kB / 444.2 MB, free: 9.371 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.5128, allocations: 46.62 kB / 444.2 MB, free: 9.324 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 2.505e-06/0.5128, allocations: 0 / 444.2 MB, free: 9.324 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.002445/0.5153, allocations: 1.482 MB / 445.7 MB, free: 8.379 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.5153, allocations: 85.95 kB / 445.8 MB, free: 8.285 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.5155, allocations: 136.3 kB / 445.9 MB, free: 8.191 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.5155, allocations: 29.55 kB / 446 MB, free: 8.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/0.5156, allocations: 128.3 kB / 446.1 MB, free: 8.055 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.5158, allocations: 167.9 kB / 446.3 MB, free: 7.941 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.525e-05/0.5158, allocations: 0 / 446.3 MB, free: 7.941 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.5159, allocations: 344.5 kB / 446.6 MB, free: 7.625 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.5161, allocations: 90.28 kB / 446.7 MB, free: 7.617 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.5162, allocations: 136.7 kB / 446.8 MB, free: 7.582 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.5165, allocations: 117.6 kB / 446.9 MB, free: 7.574 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.5165, allocations: 0.875 kB / 446.9 MB, free: 7.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004893/0.517, allocations: 315.9 kB / 447.2 MB, free: 7.516 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.517, allocations: 4.703 kB / 447.2 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.517, allocations: 4 kB / 447.3 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/0.517, allocations: 3.969 kB / 447.3 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.5175, allocations: 101.8 kB / 447.4 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.5175, allocations: 4.641 kB / 447.4 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.5177, allocations: 0 / 447.4 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.5177, allocations: 18.91 kB / 447.4 MB, free: 7.504 MB / 314.7 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.0001255/0.5178, allocations: 115.2 kB / 447.5 MB, free: 7.387 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.518, allocations: 38.8 kB / 447.5 MB, free: 7.367 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.5181, allocations: 34.14 kB / 447.6 MB, free: 7.359 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.5181, allocations: 3.844 kB / 447.6 MB, free: 7.359 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/0.5181, allocations: 0 / 447.6 MB, free: 7.359 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.5181, allocations: 6.75 kB / 447.6 MB, free: 7.359 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.5197, allocations: 0.8545 MB / 448.4 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5197, allocations: 3.844 kB / 448.4 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.5202, allocations: 96.91 kB / 448.5 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.5202, allocations: 3.812 kB / 448.5 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.5202, allocations: 0.9844 kB / 448.5 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.5202, allocations: 7.906 kB / 448.5 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.5202, allocations: 0 / 448.5 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007931/0.521, allocations: 0.6392 MB / 449.2 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.843e-05/0.5212, allocations: 97.34 kB / 449.3 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/0.5212, allocations: 4.562 kB / 449.3 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.5214, allocations: 0 / 449.3 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.5215, allocations: 28.64 kB / 449.3 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.5215, allocations: 10.16 kB / 449.3 MB, free: 6.535 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001061/0.5216, allocations: 121.9 kB / 449.4 MB, free: 6.457 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004344/0.5221, allocations: 60.81 kB / 449.5 MB, free: 6.457 MB / 314.7 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.0002221/0.5223, allocations: 115.9 kB / 449.6 MB, free: 6.352 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005139/0.5228, allocations: 261.3 kB / 449.9 MB, free: 6.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5229, allocations: 0 / 449.9 MB, free: 6.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.5231, allocations: 142.2 kB / 450 MB, free: 6.332 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006281/0.5237, allocations: 41.73 kB / 450 MB, free: 6.324 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.5256, allocations: 0.8396 MB / 450.9 MB, free: 5.801 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005517/0.5261, allocations: 0.8199 MB / 451.7 MB, free: 5.09 MB / 314.7 MB Notification: Performance of SimCode: time 1.863e-06/0.5261, allocations: 0 / 451.7 MB, free: 5.09 MB / 314.7 MB Notification: Performance of Templates: time 0.007768/0.5339, allocations: 3.078 MB / 454.8 MB, free: 3.965 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches