Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.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.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2") [: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.001055/0.001055, allocations: 203.4 kB / 8.539 MB, free: 1.797 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009008/0.0009011, allocations: 88.45 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 45.14 MB / 383.3 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 9.748e-06/9.778e-06, allocations: 4 kB / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1354, allocations: 63.25 MB / 0.5038 GB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3923/0.5278, allocations: 107 MB / 0.6083 GB, free: 12.17 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.528, allocations: 72.66 kB / 0.6084 GB, free: 12.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3429/0.871, allocations: 129.8 MB / 0.7351 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005054/0.8715, allocations: 116 kB / 0.7352 GB, free: 2.156 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: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.02363/0.8952, allocations: 6.121 MB / 0.7412 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.8952, allocations: 8.031 kB / 0.7412 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02614/0.9214, allocations: 5.58 MB / 0.7466 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2249/1.146, allocations: 7.115 MB / 0.7536 GB, free: 179.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004916/1.147, allocations: 183.1 kB / 0.7538 GB, free: 179.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003955/1.151, allocations: 341.8 kB / 0.7541 GB, free: 179.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02182/1.173, allocations: 10.82 MB / 0.7647 GB, free: 179.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03185/1.205, allocations: 13.93 MB / 0.7783 GB, free: 177.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004995/1.205, allocations: 66.44 kB / 0.7783 GB, free: 177.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003365/1.209, allocations: 18.75 kB / 0.7784 GB, free: 177.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002983/1.212, allocations: 1.777 MB / 0.7801 GB, free: 177.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08677/1.298, allocations: 54.24 MB / 0.8331 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007363/1.306, allocations: 5.769 MB / 0.8387 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006859/1.313, allocations: 5.142 MB / 0.8437 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02751/1.34, allocations: 18.21 MB / 0.8615 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/1.34, allocations: 64.83 kB / 0.8616 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=336): time 6.001e-06/1.34, allocations: 3.312 kB / 0.8616 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=389): time 0.06337/1.404, allocations: 33.73 MB / 0.8945 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/1.404, allocations: 111.8 kB / 0.8946 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005401/1.409, allocations: 3.709 MB / 0.8982 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009343/1.41, allocations: 25.7 kB / 0.8983 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001593/1.412, allocations: 3.662 MB / 0.9018 GB, free: 96.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00179/1.414, allocations: 1.364 MB / 0.9032 GB, free: 95.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004303/1.414, allocations: 0 / 0.9032 GB, free: 95.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003678/1.414, allocations: 0.6488 MB / 0.9038 GB, free: 95.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004582/1.419, allocations: 3.897 MB / 0.9076 GB, free: 91.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006131/1.425, allocations: 7.847 MB / 0.9153 GB, free: 82.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007332/1.432, allocations: 5.574 MB / 0.9207 GB, free: 78.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/1.433, allocations: 40 kB / 0.9207 GB, free: 78.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1056) (initialization): time 0.02545/1.458, allocations: 13.27 MB / 0.9337 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.458, allocations: 8.609 kB / 0.9337 GB, free: 66.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001561/1.458, allocations: 136 kB / 0.9338 GB, free: 66.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007468/1.466, allocations: 2.429 MB / 0.9362 GB, free: 64.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008513/1.474, allocations: 1.891 MB / 0.9381 GB, free: 62.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/1.49, allocations: 12.47 MB / 0.9502 GB, free: 49.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00646/1.497, allocations: 251.8 kB / 0.9505 GB, free: 49.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009526/1.498, allocations: 451.9 kB / 0.9509 GB, free: 49.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 50 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (959): * Single equations (assignments): 951 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001124/1.499, allocations: 477.9 kB / 0.9514 GB, free: 48.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006246/1.499, allocations: 450.2 kB / 0.9518 GB, free: 48.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01496/1.514, allocations: 9.53 MB / 0.9611 GB, free: 38.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.386e-05/1.514, allocations: 59.64 kB / 0.9612 GB, free: 38.58 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/1.514, allocations: 8 kB / 0.9612 GB, free: 38.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.201e-05/1.514, allocations: 19.88 kB / 0.9612 GB, free: 38.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02966/1.544, allocations: 17.63 MB / 0.9784 GB, free: 20.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/1.544, allocations: 4 kB / 0.9784 GB, free: 20.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003307/1.547, allocations: 0.6364 MB / 0.979 GB, free: 20.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006609/1.554, allocations: 2.194 MB / 0.9812 GB, free: 17.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003949/1.554, allocations: 16 kB / 0.9812 GB, free: 17.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/1.568, allocations: 11.37 MB / 0.9923 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.568, allocations: 7.938 kB / 0.9923 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2292/1.797, allocations: 14.58 MB / 1.007 GB, free: 161.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.798, allocations: 485.6 kB / 1.007 GB, free: 161.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001907/1.8, allocations: 7.594 kB / 1.007 GB, free: 161.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003464/1.804, allocations: 145.7 kB / 1.007 GB, free: 161.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000765/1.805, allocations: 177.7 kB / 1.007 GB, free: 161.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003366/1.805, allocations: 103.8 kB / 1.007 GB, free: 161.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.004391/1.809, allocations: 2.503 MB / 1.01 GB, free: 161 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007736/1.817, allocations: 1.42 MB / 1.011 GB, free: 161 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 298 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 29,(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007201/1.818, allocations: 168.1 kB / 1.011 GB, free: 160.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01323/1.831, allocations: 9.374 MB / 1.021 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.831, allocations: 6.344 kB / 1.021 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005017/1.836, allocations: 3.957 MB / 1.024 GB, free: 160.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/1.839, allocations: 476.5 kB / 1.025 GB, free: 160.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0278/1.867, allocations: 12.82 MB / 1.037 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00719/1.874, allocations: 5.016 MB / 1.042 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.714e-06/1.874, allocations: 0 / 1.042 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.1036/1.978, allocations: 67.13 MB / 1.108 GB, free: 130.5 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches