Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [: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.0009481/0.0009481, allocations: 188.6 kB / 7.808 MB, free: 2.492 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.06/1.06, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007774/0.0007774, allocations: 83.66 kB / 261.4 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1488/0.1488, allocations: 43.48 MB / 352.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.51e-06/5.52e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2206, allocations: 58.84 MB / 476.5 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.3347, allocations: 105.9 MB / 0.5687 GB, free: 9.043 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000154/0.3349, allocations: 71.47 kB / 0.5688 GB, free: 8.977 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.363/0.6979, allocations: 91.9 MB / 0.6586 GB, free: 107.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001317/0.698, allocations: 82.88 kB / 0.6586 GB, free: 107.4 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: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.007366/0.7054, allocations: 4.499 MB / 0.663 GB, free: 105.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.7054, allocations: 9.938 kB / 0.663 GB, free: 105.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02115/0.7266, allocations: 6.34 MB / 0.6692 GB, free: 105.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/0.7392, allocations: 6.395 MB / 0.6755 GB, free: 104.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.7394, allocations: 137.3 kB / 0.6756 GB, free: 104.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008018/0.7402, allocations: 265.9 kB / 0.6759 GB, free: 104.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007546/0.7477, allocations: 6.806 MB / 0.6825 GB, free: 103.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01349/0.7612, allocations: 9.79 MB / 0.6921 GB, free: 98.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001622/0.7614, allocations: 73.2 kB / 0.6921 GB, free: 98.49 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004621/0.7619, allocations: 34.06 kB / 0.6922 GB, free: 98.49 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001204/0.7631, allocations: 1.098 MB / 0.6932 GB, free: 98.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04119/0.8043, allocations: 47.03 MB / 0.7392 GB, free: 61.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/0.8076, allocations: 3.033 MB / 0.7421 GB, free: 59.04 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001927/0.8096, allocations: 1.93 MB / 0.744 GB, free: 57.25 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01012/0.8197, allocations: 8.387 MB / 0.7522 GB, free: 49.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.8198, allocations: 51.5 kB / 0.7523 GB, free: 48.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=180): time 4.669e-06/0.8198, allocations: 0 / 0.7523 GB, free: 48.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=236): time 0.05823/0.878, allocations: 24.75 MB / 0.7764 GB, free: 24.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.8781, allocations: 213.9 kB / 0.7766 GB, free: 23.94 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/0.8823, allocations: 3.333 MB / 0.7799 GB, free: 20.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005173/0.8828, allocations: 25.7 kB / 0.7799 GB, free: 20.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.8838, allocations: 2.988 MB / 0.7828 GB, free: 17.52 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007417/0.8846, allocations: 0.8479 MB / 0.7837 GB, free: 16.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003095/0.8849, allocations: 0 / 0.7837 GB, free: 16.66 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002281/0.8852, allocations: 0.5789 MB / 0.7842 GB, free: 16.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00336/0.8885, allocations: 3.394 MB / 0.7875 GB, free: 12.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004521/0.893, allocations: 7.132 MB / 0.7945 GB, free: 3.66 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005847/0.8989, allocations: 5.017 MB / 0.7994 GB, free: 14.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-05/0.899, allocations: 40 kB / 0.7994 GB, free: 14.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.03487/0.9339, allocations: 14.66 MB / 0.8138 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.9339, allocations: 8.031 kB / 0.8138 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/0.934, allocations: 132 kB / 0.8139 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0219/0.9559, allocations: 5.624 MB / 0.8194 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005043/0.961, allocations: 1.454 MB / 0.8208 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1505/1.112, allocations: 22.6 MB / 0.8429 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005201/1.117, allocations: 226.1 kB / 0.8431 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009228/1.118, allocations: 399.6 kB / 0.8435 GB, free: 169.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 608 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (772): * Single equations (assignments): 767 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008656/1.119, allocations: 448.4 kB / 0.8439 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005364/1.119, allocations: 372.6 kB / 0.8443 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02487/1.144, allocations: 10.6 MB / 0.8546 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.047e-05/1.144, allocations: 23.94 kB / 0.8546 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/1.144, allocations: 9.562 kB / 0.8546 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.516e-05/1.144, allocations: 10.36 kB / 0.8547 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03609/1.18, allocations: 19.07 MB / 0.8733 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/1.18, allocations: 3.906 kB / 0.8733 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/1.182, allocations: 349 kB / 0.8736 GB, free: 161.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01817/1.2, allocations: 4.68 MB / 0.8782 GB, free: 161.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003579/1.201, allocations: 15.25 kB / 0.8782 GB, free: 161.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02316/1.224, allocations: 18.6 MB / 0.8964 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/1.224, allocations: 6.5 kB / 0.8964 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02886/1.253, allocations: 14.45 MB / 0.9105 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/1.255, allocations: 0.9338 MB / 0.9114 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006046/1.255, allocations: 8 kB / 0.9114 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/1.257, allocations: 87.25 kB / 0.9115 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003358/1.258, allocations: 119.9 kB / 0.9116 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002275/1.258, allocations: 71.89 kB / 0.9117 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002524/1.261, allocations: 2.261 MB / 0.9139 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004446/1.265, allocations: 1.151 MB / 0.915 GB, free: 143.2 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 (165): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 47} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004719/1.265, allocations: 165.2 kB / 0.9152 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007883/1.273, allocations: 7.716 MB / 0.9227 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.273, allocations: 4 kB / 0.9227 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00302/1.276, allocations: 3.001 MB / 0.9256 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/1.278, allocations: 400.1 kB / 0.926 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/1.293, allocations: 10.07 MB / 0.9358 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003836/1.296, allocations: 3.87 MB / 0.9396 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/1.297, allocations: 0 / 0.9396 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.07609/1.373, allocations: 63.51 MB / 1.002 GB, free: 58.55 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches