Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [: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.001669/0.001673, allocations: 175.7 kB / 8.149 MB, free: 2.211 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.757/1.757, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001998/0.001998, allocations: 94.3 kB / 261.8 MB, free: 13.63 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.3015/0.3015, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.755e-06/8.005e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2781, allocations: 58.84 MB / 476.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.4714, allocations: 106.5 MB / 0.5693 GB, free: 8.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.4717, allocations: 79.45 kB / 0.5694 GB, free: 8.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.6523/1.124, allocations: 100.1 MB / 0.6672 GB, free: 107.1 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004057/1.125, allocations: 105.3 kB / 0.6673 GB, free: 107.1 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02161/1.146, allocations: 5.163 MB / 0.6724 GB, free: 105 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/1.146, allocations: 6.719 kB / 0.6724 GB, free: 105 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04678/1.193, allocations: 6.529 MB / 0.6787 GB, free: 104.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02923/1.222, allocations: 7.581 MB / 0.6861 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003801/1.223, allocations: 158.2 kB / 0.6863 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003223/1.226, allocations: 304.2 kB / 0.6866 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02778/1.254, allocations: 7.265 MB / 0.6937 GB, free: 100.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03878/1.293, allocations: 11.04 MB / 0.7044 GB, free: 94.69 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005337/1.293, allocations: 75.52 kB / 0.7045 GB, free: 94.65 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00223/1.296, allocations: 33.34 kB / 0.7046 GB, free: 94.65 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0037/1.299, allocations: 1.219 MB / 0.7057 GB, free: 94.43 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08875/1.388, allocations: 55.07 MB / 0.7595 GB, free: 42.51 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008032/1.396, allocations: 4.285 MB / 0.7637 GB, free: 38.08 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005485/1.402, allocations: 2.943 MB / 0.7666 GB, free: 35.12 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0232/1.425, allocations: 9.598 MB / 0.776 GB, free: 25.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/1.425, allocations: 63.72 kB / 0.776 GB, free: 25.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=206): time 6.052e-06/1.425, allocations: 0 / 0.776 GB, free: 25.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=262): time 0.1178/1.543, allocations: 26.75 MB / 0.8021 GB, free: 14.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/1.543, allocations: 213.9 kB / 0.8023 GB, free: 14.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009963/1.553, allocations: 3.667 MB / 0.8059 GB, free: 10.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007314/1.554, allocations: 25.7 kB / 0.8059 GB, free: 10.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003418/1.557, allocations: 3.154 MB / 0.809 GB, free: 7.309 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001937/1.559, allocations: 0.9442 MB / 0.8099 GB, free: 6.352 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008517/1.56, allocations: 0 / 0.8099 GB, free: 6.352 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006749/1.561, allocations: 0.5963 MB / 0.8105 GB, free: 5.746 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008775/1.57, allocations: 2.907 MB / 0.8134 GB, free: 2.836 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01231/1.582, allocations: 6.803 MB / 0.82 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/1.594, allocations: 4.423 MB / 0.8243 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/1.594, allocations: 40 kB / 0.8244 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of matching and sorting (n=900) (initialization): time 0.2316/1.826, allocations: 11.81 MB / 0.8359 GB, free: 173.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.826, allocations: 10.06 kB / 0.8359 GB, free: 173.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002071/1.826, allocations: 138.9 kB / 0.836 GB, free: 173.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02227/1.848, allocations: 3.812 MB / 0.8398 GB, free: 173.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009357/1.858, allocations: 1.439 MB / 0.8412 GB, free: 173.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05836/1.916, allocations: 23.49 MB / 0.8641 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007335/1.923, allocations: 219.5 kB / 0.8643 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00188/1.925, allocations: 414.8 kB / 0.8647 GB, free: 166.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (784): * Single equations (assignments): 778 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(9,43.2%) 49,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.002141/1.927, allocations: 375 kB / 0.8651 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/1.929, allocations: 412.7 kB / 0.8655 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0304/1.959, allocations: 7.604 MB / 0.8729 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/1.959, allocations: 27.03 kB / 0.8729 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-05/1.959, allocations: 14.19 kB / 0.8729 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.638e-05/1.959, allocations: 11.95 kB / 0.8729 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05163/2.011, allocations: 15.22 MB / 0.8878 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-05/2.011, allocations: 4.906 kB / 0.8878 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00297/2.014, allocations: 282.2 kB / 0.8881 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02159/2.036, allocations: 3.538 MB / 0.8915 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007101/2.036, allocations: 8.688 kB / 0.8915 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05311/2.09, allocations: 21.87 MB / 0.9129 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.36e-05/2.09, allocations: 11.56 kB / 0.9129 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03616/2.126, allocations: 12.12 MB / 0.9247 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003274/2.129, allocations: 0.886 MB / 0.9256 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001362/2.13, allocations: 10.02 kB / 0.9256 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004177/2.135, allocations: 83.81 kB / 0.9257 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006315/2.135, allocations: 135.5 kB / 0.9258 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003328/2.136, allocations: 71.7 kB / 0.9259 GB, free: 131 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.005593/2.141, allocations: 2.503 MB / 0.9283 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008958/2.15, allocations: 1.189 MB / 0.9295 GB, free: 127.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/2.151, allocations: 155.9 kB / 0.9297 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01988/2.171, allocations: 7.552 MB / 0.937 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/2.171, allocations: 0 / 0.937 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009441/2.181, allocations: 3.106 MB / 0.9401 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004579/2.185, allocations: 459.3 kB / 0.9405 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03417/2.22, allocations: 10.97 MB / 0.9512 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01125/2.231, allocations: 4.331 MB / 0.9554 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.683e-06/2.231, allocations: 4 kB / 0.9554 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.4314/2.663, allocations: 138.6 MB / 1.091 GB, free: 157.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches