Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [: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 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 183.6 kB / 8.52 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 221.4 MB / 230.3 MB, free: 7.758 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008782/0.0008781, allocations: 84.72 kB / 281.2 MB, free: 5.523 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1894/0.1894, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/7.864e-06, allocations: 224 / 444 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1232, allocations: 61.91 MB / 0.4941 GB, free: 1.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3264/0.4496, allocations: 85.37 MB / 0.5775 GB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.4499, allocations: 65.75 kB / 0.5775 GB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.007019/0.4569, allocations: 2.36 MB / 0.5798 GB, free: 9.078 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.457, allocations: 0 / 0.5798 GB, free: 9.078 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004414/0.4575, allocations: 410.3 kB / 0.5802 GB, free: 8.629 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4575, allocations: 8.031 kB / 0.5802 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.4576, allocations: 23.7 kB / 0.5803 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.4577, allocations: 178.9 kB / 0.5804 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.4577, allocations: 11.89 kB / 0.5804 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.4578, allocations: 16 kB / 0.5805 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001697/0.458, allocations: 72.64 kB / 0.5805 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.4582, allocations: 133.3 kB / 0.5806 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.4582, allocations: 7.906 kB / 0.5807 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.4582, allocations: 4 kB / 0.5807 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.4582, allocations: 4 kB / 0.5807 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008107/0.4591, allocations: 0.5688 MB / 0.5812 GB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.4592, allocations: 95.36 kB / 0.5813 GB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.631e-05/0.4593, allocations: 45.8 kB / 0.5814 GB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.4593, allocations: 4 kB / 0.5814 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.4593, allocations: 38.47 kB / 0.5814 GB, free: 7.305 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.4593, allocations: 0 / 0.5814 GB, free: 7.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004126/0.4598, allocations: 139.4 kB / 0.5815 GB, free: 7.156 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.4598, allocations: 77.11 kB / 0.5816 GB, free: 7.062 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.4599, allocations: 127 kB / 0.5817 GB, free: 6.934 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.46, allocations: 29.64 kB / 0.5817 GB, free: 6.898 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.46, allocations: 124.1 kB / 0.5819 GB, free: 6.773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.4601, allocations: 59.19 kB / 0.5819 GB, free: 6.715 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-06/0.4601, allocations: 0 / 0.5819 GB, free: 6.715 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.4603, allocations: 322.8 kB / 0.5822 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.639e-05/0.4603, allocations: 32.75 kB / 0.5823 GB, free: 6.359 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.4604, allocations: 97.19 kB / 0.5824 GB, free: 6.234 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.632e-05/0.4605, allocations: 57.11 kB / 0.5824 GB, free: 6.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4605, allocations: 0 / 0.5824 GB, free: 6.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003293/0.4609, allocations: 198.9 kB / 0.5826 GB, free: 5.973 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4609, allocations: 4 kB / 0.5826 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4609, allocations: 0 / 0.5826 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002139/0.4611, allocations: 45.95 kB / 0.5826 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.4613, allocations: 39.92 kB / 0.5827 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.4634, allocations: 2.59 MB / 0.5852 GB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.873e-05/0.4635, allocations: 19.84 kB / 0.5852 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.4636, allocations: 8 kB / 0.5852 GB, free: 3.027 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.691e-05/0.4636, allocations: 108.9 kB / 0.5853 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.4637, allocations: 7.906 kB / 0.5854 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.4637, allocations: 20.48 kB / 0.5854 GB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4638, allocations: 3.906 kB / 0.5854 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.4638, allocations: 4 kB / 0.5854 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.4638, allocations: 4 kB / 0.5854 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.4641, allocations: 198 kB / 0.5856 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4641, allocations: 3.984 kB / 0.5856 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.4642, allocations: 27.81 kB / 0.5856 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001201/0.4644, allocations: 41.7 kB / 0.5856 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.4644, allocations: 4 kB / 0.5856 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.4661, allocations: 2.593 MB / 0.5882 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4662, allocations: 0 / 0.5882 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003768/0.4665, allocations: 366.2 kB / 0.5885 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.4666, allocations: 88.86 kB / 0.5886 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.4666, allocations: 4 kB / 0.5886 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.4667, allocations: 3.984 kB / 0.5886 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.4668, allocations: 8 kB / 0.5886 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.4668, allocations: 8 kB / 0.5886 GB, free: 15.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.272e-05/0.4668, allocations: 91.27 kB / 0.5887 GB, free: 15.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004437/0.4673, allocations: 51.84 kB / 0.5888 GB, free: 15.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001301/0.4674, allocations: 99.28 kB / 0.5889 GB, free: 14.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004198/0.4679, allocations: 315.9 kB / 0.5892 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4679, allocations: 0 / 0.5892 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.4681, allocations: 255.5 kB / 0.5894 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.4685, allocations: 22.33 kB / 0.5894 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008319/0.4693, allocations: 0.5374 MB / 0.59 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.4696, allocations: 0.7421 MB / 0.5907 GB, free: 13.03 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4696, allocations: 0 / 0.5907 GB, free: 13.03 MB / 410.7 MB Notification: Performance of Templates: time 0.004399/0.474, allocations: 1.853 MB / 0.5925 GB, free: 11.19 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches