Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001233/0.001233, allocations: 195.4 kB / 8.539 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 225.5 MB / 234.4 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008924/0.0008925, allocations: 90.59 kB / 286.3 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1715/0.1715, allocations: 45.14 MB / 383.3 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.901e-06/5.931e-06, allocations: 0 / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 63.25 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3621/0.4767, allocations: 111.4 MB / 0.6126 GB, free: 7.879 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.4769, allocations: 77.25 kB / 0.6127 GB, free: 7.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3391/0.816, allocations: 126.7 MB / 0.7363 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003646/0.8164, allocations: 116 kB / 0.7365 GB, free: 0.8828 MB / 0.5105 GB 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.02031/0.8368, allocations: 6.173 MB / 0.7425 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.8368, allocations: 8.031 kB / 0.7425 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03241/0.8692, allocations: 7.634 MB / 0.7499 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2344/1.104, allocations: 6.441 MB / 0.7562 GB, free: 177.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003983/1.104, allocations: 193.4 kB / 0.7564 GB, free: 177.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00352/1.108, allocations: 353.6 kB / 0.7568 GB, free: 177.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01893/1.127, allocations: 10.43 MB / 0.7669 GB, free: 177.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0309/1.158, allocations: 14.35 MB / 0.781 GB, free: 174.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005134/1.158, allocations: 73.69 kB / 0.781 GB, free: 174.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003248/1.161, allocations: 39.12 kB / 0.7811 GB, free: 174.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002443/1.164, allocations: 1.722 MB / 0.7827 GB, free: 174.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08173/1.246, allocations: 62.42 MB / 0.8437 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00616/1.252, allocations: 4.681 MB / 0.8483 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00445/1.256, allocations: 3.617 MB / 0.8518 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0249/1.281, allocations: 15.51 MB / 0.867 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/1.281, allocations: 56.56 kB / 0.867 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=295): time 7.404e-06/1.281, allocations: 0 / 0.867 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=345): time 0.07155/1.353, allocations: 29.1 MB / 0.8954 GB, free: 99.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/1.353, allocations: 213.5 kB / 0.8956 GB, free: 98.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006373/1.359, allocations: 4.33 MB / 0.8999 GB, free: 95.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007792/1.36, allocations: 25.7 kB / 0.8999 GB, free: 95.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001656/1.362, allocations: 4.175 MB / 0.904 GB, free: 91.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001241/1.363, allocations: 1.24 MB / 0.9052 GB, free: 90.14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004441/1.364, allocations: 1.688 kB / 0.9052 GB, free: 90.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003688/1.364, allocations: 0.6974 MB / 0.9059 GB, free: 89.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004953/1.369, allocations: 4.563 MB / 0.9103 GB, free: 85.42 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006859/1.376, allocations: 9.744 MB / 0.9198 GB, free: 73.76 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007796/1.384, allocations: 6.603 MB / 0.9263 GB, free: 68.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/1.384, allocations: 56 kB / 0.9263 GB, free: 67.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1206) (initialization): time 0.04192/1.426, allocations: 17.71 MB / 0.9436 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/1.426, allocations: 8 kB / 0.9436 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003231/1.426, allocations: 184 kB / 0.9438 GB, free: 53.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02197/1.448, allocations: 5.334 MB / 0.949 GB, free: 48.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008299/1.456, allocations: 2.094 MB / 0.9511 GB, free: 46.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02464/1.481, allocations: 20.89 MB / 0.9715 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009348/1.49, allocations: 315.4 kB / 0.9718 GB, free: 25.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002482/1.493, allocations: 0.5273 MB / 0.9723 GB, free: 24.5 MB / 0.5261 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.002584/1.496, allocations: 0.5709 MB / 0.9728 GB, free: 23.92 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/1.497, allocations: 477.8 kB / 0.9733 GB, free: 23.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02791/1.525, allocations: 12.09 MB / 0.9851 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001526/1.525, allocations: 47.98 kB / 0.9851 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.3e-05/1.525, allocations: 8 kB / 0.9851 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.278e-05/1.525, allocations: 11.95 kB / 0.9852 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.287/1.812, allocations: 22.51 MB / 1.007 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.262e-05/1.812, allocations: 3.938 kB / 1.007 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003341/1.815, allocations: 0.517 MB / 1.008 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01826/1.834, allocations: 4.33 MB / 1.012 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008657/1.835, allocations: 10.22 kB / 1.012 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/1.856, allocations: 16.82 MB / 1.028 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-05/1.856, allocations: 12.91 kB / 1.028 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03378/1.889, allocations: 17.29 MB / 1.045 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/1.891, allocations: 0.4928 MB / 1.046 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001506/1.893, allocations: 10.38 kB / 1.046 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002852/1.896, allocations: 124 kB / 1.046 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005031/1.896, allocations: 158.7 kB / 1.046 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003196/1.896, allocations: 86.56 kB / 1.046 GB, free: 153.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.004834/1.901, allocations: 2.903 MB / 1.049 GB, free: 152.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008856/1.91, allocations: 1.48 MB / 1.05 GB, free: 152.6 MB / 0.5261 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.0007978/1.911, allocations: 176.2 kB / 1.051 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01535/1.926, allocations: 10.31 MB / 1.061 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.927e-05/1.926, allocations: 6.531 kB / 1.061 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005584/1.932, allocations: 3.905 MB / 1.064 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/1.935, allocations: 461.2 kB / 1.065 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03271/1.968, allocations: 13.69 MB / 1.078 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009924/1.978, allocations: 5.143 MB / 1.083 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.563e-06/1.978, allocations: 0 / 1.083 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.1252/2.103, allocations: 77.45 MB / 1.159 GB, free: 76.65 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches