Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.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.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute") [: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.002388/0.002387, allocations: 175.7 kB / 8.149 MB, free: 2.207 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.805/1.805, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001259/0.001259, allocations: 81.58 kB / 261.8 MB, free: 13.62 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.2581/0.2581, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.936e-06/9.107e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2855, allocations: 58.85 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/0.4664, allocations: 101.5 MB / 0.5645 GB, free: 13.51 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.4668, allocations: 75.45 kB / 0.5646 GB, free: 13.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.6246/1.091, allocations: 83.89 MB / 0.6465 GB, free: 111.1 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001607/1.092, allocations: 73.14 kB / 0.6466 GB, free: 111.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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01211/1.104, allocations: 3.615 MB / 0.6501 GB, free: 109.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.104, allocations: 11.12 kB / 0.6501 GB, free: 109.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02457/1.128, allocations: 2.805 MB / 0.6529 GB, free: 109.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01548/1.144, allocations: 4.204 MB / 0.657 GB, free: 108.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/1.144, allocations: 131.6 kB / 0.6571 GB, free: 108.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00207/1.146, allocations: 219.3 kB / 0.6573 GB, free: 108.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01767/1.164, allocations: 7.456 MB / 0.6646 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02607/1.19, allocations: 9.659 MB / 0.674 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002038/1.19, allocations: 34.52 kB / 0.6741 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0021/1.192, allocations: 13.44 kB / 0.6741 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002529/1.195, allocations: 1.284 MB / 0.6753 GB, free: 107 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07541/1.27, allocations: 33.44 MB / 0.708 GB, free: 87.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008469/1.279, allocations: 4.29 MB / 0.7122 GB, free: 85.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005378/1.284, allocations: 2.386 MB / 0.7145 GB, free: 84.43 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02404/1.308, allocations: 10.13 MB / 0.7244 GB, free: 75.76 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/1.309, allocations: 47.88 kB / 0.7245 GB, free: 75.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=186): time 5.721e-06/1.309, allocations: 0 / 0.7245 GB, free: 75.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=201): time 0.03969/1.348, allocations: 11.89 MB / 0.7361 GB, free: 65.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/1.348, allocations: 65.28 kB / 0.7361 GB, free: 65.35 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005488/1.354, allocations: 2.515 MB / 0.7386 GB, free: 63.13 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004869/1.354, allocations: 26.59 kB / 0.7386 GB, free: 63.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002053/1.356, allocations: 2.815 MB / 0.7414 GB, free: 60.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001193/1.358, allocations: 0.7284 MB / 0.7421 GB, free: 59.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006662/1.358, allocations: 0 / 0.7421 GB, free: 59.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005057/1.359, allocations: 0.5524 MB / 0.7426 GB, free: 59.39 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005752/1.365, allocations: 2.194 MB / 0.7448 GB, free: 57.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007734/1.372, allocations: 5.344 MB / 0.75 GB, free: 50.85 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007994/1.381, allocations: 3.472 MB / 0.7534 GB, free: 47.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.357e-05/1.381, allocations: 32 kB / 0.7534 GB, free: 47.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.02975/1.41, allocations: 7.46 MB / 0.7607 GB, free: 40.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/1.41, allocations: 4 kB / 0.7607 GB, free: 40.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002094/1.411, allocations: 112 kB / 0.7608 GB, free: 40.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005654/1.416, allocations: 0.7584 MB / 0.7615 GB, free: 39.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01135/1.428, allocations: 1.263 MB / 0.7628 GB, free: 38.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/1.44, allocations: 4.222 MB / 0.7669 GB, free: 34.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00861/1.449, allocations: 167.8 kB / 0.767 GB, free: 34.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001614/1.451, allocations: 332 kB / 0.7674 GB, free: 33.88 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 509 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (683): * Single equations (assignments): 676 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001568/1.452, allocations: 305.5 kB / 0.7677 GB, free: 33.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009141/1.453, allocations: 272.4 kB / 0.7679 GB, free: 33.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01487/1.468, allocations: 4.165 MB / 0.772 GB, free: 29.12 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001302/1.468, allocations: 35.98 kB / 0.772 GB, free: 29.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/1.468, allocations: 4 kB / 0.772 GB, free: 29.08 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.659e-05/1.468, allocations: 8.062 kB / 0.772 GB, free: 29.07 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02354/1.492, allocations: 8.097 MB / 0.7799 GB, free: 20.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-05/1.492, allocations: 0 / 0.7799 GB, free: 20.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003098/1.495, allocations: 271.6 kB / 0.7802 GB, free: 20.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003888/1.499, allocations: 0.5857 MB / 0.7808 GB, free: 20.11 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004279/1.499, allocations: 4 kB / 0.7808 GB, free: 20.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007323/1.507, allocations: 3.431 MB / 0.7841 GB, free: 16.56 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.507, allocations: 0 / 0.7841 GB, free: 16.56 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01574/1.523, allocations: 6.378 MB / 0.7904 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.525, allocations: 0.6186 MB / 0.791 GB, free: 9.523 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009899/1.526, allocations: 3.984 kB / 0.791 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002699/1.529, allocations: 59.91 kB / 0.791 GB, free: 9.461 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005321/1.529, allocations: 77.19 kB / 0.7911 GB, free: 9.387 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002305/1.529, allocations: 44 kB / 0.7911 GB, free: 9.344 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003772/1.533, allocations: 1.646 MB / 0.7927 GB, free: 7.691 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005753/1.539, allocations: 0.8398 MB / 0.7936 GB, free: 6.852 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006519/1.54, allocations: 135.1 kB / 0.7937 GB, free: 6.711 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01107/1.551, allocations: 5.152 MB / 0.7987 GB, free: 1.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.551, allocations: 0 / 0.7987 GB, free: 1.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004079/1.555, allocations: 1.811 MB / 0.8005 GB, free: 15.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/1.557, allocations: 209.8 kB / 0.8007 GB, free: 15.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02677/1.584, allocations: 8.061 MB / 0.8086 GB, free: 7.418 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01059/1.594, allocations: 3.563 MB / 0.812 GB, free: 3.832 MB / 490.7 MB Notification: Performance of SimCode: time 1.363e-06/1.595, allocations: 0 / 0.812 GB, free: 3.832 MB / 490.7 MB Notification: Performance of Templates: time 0.3052/1.9, allocations: 68.9 MB / 0.8793 GB, free: 168.9 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches