Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [: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.000953/0.0009528, allocations: 189.8 kB / 7.806 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.074/1.074, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0007956/0.0007956, allocations: 89.39 kB / 261.4 MB, free: 13.55 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.1532/0.1532, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.494e-06/7.594e-06, allocations: 4 kB / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2098, allocations: 58.84 MB / 476.5 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.335, allocations: 108.6 MB / 0.5714 GB, free: 6.289 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001736/0.3352, allocations: 71.97 kB / 0.5715 GB, free: 6.219 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4233/0.7585, allocations: 122.7 MB / 0.6914 GB, free: 103.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002393/0.7588, allocations: 119.1 kB / 0.6915 GB, free: 103.5 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01782/0.7766, allocations: 6.162 MB / 0.6975 GB, free: 100.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.7767, allocations: 9.125 kB / 0.6975 GB, free: 100.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03044/0.8071, allocations: 7.638 MB / 0.705 GB, free: 97.42 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01828/0.8254, allocations: 7.438 MB / 0.7122 GB, free: 93.45 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/0.8258, allocations: 190.7 kB / 0.7124 GB, free: 93.45 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002898/0.8287, allocations: 357.5 kB / 0.7128 GB, free: 93.32 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0155/0.8442, allocations: 10.43 MB / 0.7229 GB, free: 82.89 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02547/0.8697, allocations: 14.36 MB / 0.737 GB, free: 67.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003507/0.8701, allocations: 75.25 kB / 0.737 GB, free: 67.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002431/0.8725, allocations: 36 kB / 0.7371 GB, free: 67.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001706/0.8742, allocations: 1.724 MB / 0.7388 GB, free: 65.54 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05784/0.9321, allocations: 62.46 MB / 0.7998 GB, free: 1.738 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005113/0.9373, allocations: 4.686 MB / 0.8043 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00416/0.9414, allocations: 3.628 MB / 0.8079 GB, free: 9.281 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02188/0.9633, allocations: 15.54 MB / 0.8231 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.9634, allocations: 56.56 kB / 0.8231 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=295): time 5.41e-06/0.9634, allocations: 4 kB / 0.8231 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of matching and sorting (n=345): time 0.193/1.156, allocations: 29.21 MB / 0.8516 GB, free: 173.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/1.157, allocations: 221 kB / 0.8518 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005225/1.162, allocations: 4.358 MB / 0.8561 GB, free: 172.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005925/1.162, allocations: 26.27 kB / 0.8561 GB, free: 172.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001674/1.164, allocations: 4.178 MB / 0.8602 GB, free: 170 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001168/1.165, allocations: 1.244 MB / 0.8614 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003975/1.166, allocations: 0 / 0.8614 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003769/1.166, allocations: 0.6984 MB / 0.8621 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004916/1.171, allocations: 4.555 MB / 0.8666 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006251/1.177, allocations: 9.746 MB / 0.8761 GB, free: 160.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006512/1.184, allocations: 6.616 MB / 0.8825 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.716e-05/1.184, allocations: 49.97 kB / 0.8826 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1206) (initialization): time 0.03452/1.218, allocations: 17.7 MB / 0.8999 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.218, allocations: 5.562 kB / 0.8999 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002464/1.219, allocations: 188.3 kB / 0.9001 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02051/1.239, allocations: 5.334 MB / 0.9053 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008496/1.248, allocations: 2.099 MB / 0.9073 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02282/1.271, allocations: 20.9 MB / 0.9277 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007769/1.278, allocations: 315.7 kB / 0.928 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001956/1.28, allocations: 0.5305 MB / 0.9285 GB, free: 133.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 841 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1115): * Single equations (assignments): 1107 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002525/1.283, allocations: 0.5566 MB / 0.9291 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/1.284, allocations: 485.6 kB / 0.9295 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0274/1.312, allocations: 12.08 MB / 0.9413 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001247/1.312, allocations: 52.55 kB / 0.9414 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.149e-05/1.312, allocations: 8 kB / 0.9414 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.267e-05/1.312, allocations: 18.16 kB / 0.9414 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04391/1.356, allocations: 22.54 MB / 0.9634 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-05/1.356, allocations: 8.062 kB / 0.9634 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003079/1.359, allocations: 0.5149 MB / 0.9639 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01733/1.376, allocations: 4.326 MB / 0.9682 GB, free: 97.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000726/1.377, allocations: 8 kB / 0.9682 GB, free: 97.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01809/1.395, allocations: 16.82 MB / 0.9846 GB, free: 80.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.395, allocations: 4 kB / 0.9846 GB, free: 80.25 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02889/1.424, allocations: 17.31 MB / 1.002 GB, free: 62.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002648/1.427, allocations: 1.201 MB / 1.003 GB, free: 61.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001295/1.428, allocations: 8 kB / 1.003 GB, free: 61.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003052/1.431, allocations: 131.8 kB / 1.003 GB, free: 61.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004644/1.432, allocations: 149.8 kB / 1.003 GB, free: 61.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003025/1.432, allocations: 87.98 kB / 1.003 GB, free: 61.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004935/1.437, allocations: 2.924 MB / 1.006 GB, free: 58.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00758/1.444, allocations: 1.482 MB / 1.007 GB, free: 56.68 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 (260): * Single equations (assignments): 252 * Array equations: 6 * 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 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007613/1.445, allocations: 167 kB / 1.007 GB, free: 56.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.457, allocations: 10.31 MB / 1.018 GB, free: 46.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.457, allocations: 8 kB / 1.018 GB, free: 46.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0041/1.461, allocations: 3.9 MB / 1.021 GB, free: 42.31 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/1.463, allocations: 464.5 kB / 1.022 GB, free: 41.87 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02516/1.489, allocations: 13.74 MB / 1.035 GB, free: 27.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1323/1.621, allocations: 5.145 MB / 1.04 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/1.621, allocations: 0 / 1.04 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.1043/1.725, allocations: 77.48 MB / 1.116 GB, free: 138 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches