Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002327/0.002327, allocations: 184.8 kB / 8.152 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001672/0.001671, allocations: 88.06 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2779/0.2779, allocations: 43.49 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.025e-06/8.206e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2944, allocations: 58.84 MB / 476.5 MB, free: 5.07 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1594/0.4539, allocations: 86.44 MB / 0.5498 GB, free: 12.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.4543, allocations: 67.97 kB / 0.5499 GB, free: 12.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03843/0.4927, allocations: 8.238 MB / 0.5579 GB, free: 4.293 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.148e-05/0.4928, allocations: 8 kB / 0.5579 GB, free: 4.285 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00147/0.4943, allocations: 0.6386 MB / 0.5585 GB, free: 3.598 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.4944, allocations: 12.03 kB / 0.5585 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.4946, allocations: 59.34 kB / 0.5586 GB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000614/0.4952, allocations: 297.2 kB / 0.5589 GB, free: 3.195 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.4952, allocations: 16 kB / 0.5589 GB, free: 3.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.4954, allocations: 32 kB / 0.5589 GB, free: 3.148 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008635/0.4962, allocations: 269.9 kB / 0.5592 GB, free: 2.887 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009739/0.4972, allocations: 356.2 kB / 0.5595 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.846e-05/0.4973, allocations: 11.89 kB / 0.5595 GB, free: 2.504 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/0.4974, allocations: 0 / 0.5595 GB, free: 2.504 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.4974, allocations: 16 kB / 0.5596 GB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.5003, allocations: 1.076 MB / 0.5606 GB, free: 1.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000829/0.5012, allocations: 281.2 kB / 0.5609 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.5017, allocations: 201.8 kB / 0.5611 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.5018, allocations: 4.438 kB / 0.5611 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.5018, allocations: 43 kB / 0.5611 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of pre-optimization done (n=62): time 3.526e-06/0.5018, allocations: 0 / 0.5611 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of matching and sorting (n=74): time 0.004406/0.5062, allocations: 1.795 MB / 0.5629 GB, free: 14.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.5064, allocations: 85.61 kB / 0.5629 GB, free: 14.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.5067, allocations: 193 kB / 0.5631 GB, free: 14.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/0.5068, allocations: 25.7 kB / 0.5632 GB, free: 14.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.5069, allocations: 247.3 kB / 0.5634 GB, free: 14.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/0.5072, allocations: 260.1 kB / 0.5636 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.5073, allocations: 4 kB / 0.5636 GB, free: 14.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.5075, allocations: 346.7 kB / 0.564 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.5079, allocations: 129.6 kB / 0.5641 GB, free: 13.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/0.5084, allocations: 241.2 kB / 0.5643 GB, free: 13.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.509, allocations: 183 kB / 0.5645 GB, free: 13.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.509, allocations: 0 / 0.5645 GB, free: 13.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001256/0.5103, allocations: 479.5 kB / 0.565 GB, free: 12.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.5103, allocations: 4 kB / 0.565 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.5103, allocations: 4 kB / 0.565 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.5104, allocations: 8 kB / 0.565 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.5118, allocations: 179.8 kB / 0.5651 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.5118, allocations: 11.94 kB / 0.5652 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.5123, allocations: 12.28 kB / 0.5652 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.5124, allocations: 27.98 kB / 0.5652 GB, free: 12.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * 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.0001373/0.5126, allocations: 38.98 kB / 0.5652 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.5127, allocations: 47.42 kB / 0.5653 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.5129, allocations: 51.61 kB / 0.5653 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.513, allocations: 8 kB / 0.5653 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.513, allocations: 0 / 0.5653 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.513, allocations: 7.922 kB / 0.5653 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/0.5161, allocations: 1.306 MB / 0.5666 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.5161, allocations: 4 kB / 0.5666 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.5175, allocations: 159.8 kB / 0.5668 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.752e-05/0.5176, allocations: 12 kB / 0.5668 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/0.5177, allocations: 8 kB / 0.5668 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.284e-05/0.5177, allocations: 8 kB / 0.5668 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.5177, allocations: 3.938 kB / 0.5668 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001793/0.5195, allocations: 0.9781 MB / 0.5678 GB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.5198, allocations: 112.6 kB / 0.5679 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.731e-05/0.5199, allocations: 11.98 kB / 0.5679 GB, free: 9.387 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005053/0.5204, allocations: 4 kB / 0.5679 GB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/0.5205, allocations: 52.22 kB / 0.5679 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.166e-05/0.5206, allocations: 24 kB / 0.568 GB, free: 9.309 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002062/0.5208, allocations: 145.2 kB / 0.5681 GB, free: 9.172 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007571/0.5215, allocations: 124 kB / 0.5682 GB, free: 9.051 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0001964/0.5218, allocations: 107.1 kB / 0.5683 GB, free: 8.938 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.5229, allocations: 405.7 kB / 0.5687 GB, free: 8.539 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.523, allocations: 4 kB / 0.5687 GB, free: 8.535 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005202/0.5235, allocations: 213.6 kB / 0.5689 GB, free: 8.328 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.5247, allocations: 95.02 kB / 0.569 GB, free: 8.238 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.5288, allocations: 1.499 MB / 0.5705 GB, free: 6.668 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008457/0.5297, allocations: 0.9054 MB / 0.5713 GB, free: 5.734 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5297, allocations: 3.938 kB / 0.5713 GB, free: 5.73 MB / 410.7 MB Notification: Performance of Templates: time 0.01497/0.5447, allocations: 5.768 MB / 0.577 GB, free: 15.97 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches