Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.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.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") [: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.0009414/0.0009414, allocations: 188.8 kB / 7.804 MB, free: 2.445 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.031/1.031, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0008097/0.0008096, allocations: 99.52 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.1552/0.1552, allocations: 43.49 MB / 352.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.142e-06/6.172e-06, allocations: 4 kB / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2359, allocations: 58.84 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.3607, allocations: 113.9 MB / 0.5766 GB, free: 1.004 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001621/0.3609, allocations: 79.95 kB / 0.5767 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3988/0.7597, allocations: 119.3 MB / 0.6932 GB, free: 109.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002127/0.76, allocations: 111.7 kB / 0.6933 GB, free: 109.3 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.0135/0.7735, allocations: 5.562 MB / 0.6988 GB, free: 105.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.7736, allocations: 9.625 kB / 0.6988 GB, free: 105.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01715/0.7907, allocations: 4.311 MB / 0.703 GB, free: 103.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01506/0.8058, allocations: 6.708 MB / 0.7095 GB, free: 98.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/0.8061, allocations: 260.8 kB / 0.7098 GB, free: 98.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/0.8072, allocations: 327.9 kB / 0.7101 GB, free: 97.97 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009981/0.8171, allocations: 8.725 MB / 0.7186 GB, free: 89.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/0.8289, allocations: 12.3 MB / 0.7306 GB, free: 75.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/0.8291, allocations: 67.41 kB / 0.7307 GB, free: 75.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005289/0.8296, allocations: 32 kB / 0.7307 GB, free: 75.72 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001251/0.8308, allocations: 1.375 MB / 0.7321 GB, free: 74.35 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04523/0.8761, allocations: 58.83 MB / 0.7895 GB, free: 14.03 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003307/0.8794, allocations: 3.88 MB / 0.7933 GB, free: 9.996 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00282/0.8823, allocations: 2.927 MB / 0.7962 GB, free: 7.051 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01677/0.899, allocations: 12.6 MB / 0.8085 GB, free: 9.871 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.8991, allocations: 55.86 kB / 0.8085 GB, free: 9.809 MB / 490.7 MB Notification: Performance of pre-optimization done (n=191): time 3.636e-06/0.8991, allocations: 0 / 0.8085 GB, free: 9.809 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.1984/1.098, allocations: 30.7 MB / 0.8385 GB, free: 176.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/1.098, allocations: 231.7 kB / 0.8387 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004782/1.102, allocations: 3.727 MB / 0.8424 GB, free: 176.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003637/1.103, allocations: 33.17 kB / 0.8424 GB, free: 176.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001343/1.104, allocations: 3.664 MB / 0.846 GB, free: 174.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006179/1.105, allocations: 0.8853 MB / 0.8469 GB, free: 174.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000287/1.105, allocations: 0 / 0.8469 GB, free: 174.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002527/1.105, allocations: 0.6209 MB / 0.8475 GB, free: 174 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003162/1.109, allocations: 3.161 MB / 0.8505 GB, free: 174 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00435/1.113, allocations: 7.549 MB / 0.8579 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004639/1.118, allocations: 4.794 MB / 0.8626 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.54e-05/1.118, allocations: 44.34 kB / 0.8626 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=968) (initialization): time 0.02126/1.139, allocations: 12.72 MB / 0.8751 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.139, allocations: 7.375 kB / 0.8751 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/1.139, allocations: 156.6 kB / 0.8752 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01032/1.149, allocations: 3.588 MB / 0.8787 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004827/1.154, allocations: 1.643 MB / 0.8803 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/1.174, allocations: 16.08 MB / 0.896 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005418/1.179, allocations: 286.4 kB / 0.8963 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006679/1.18, allocations: 448.4 kB / 0.8967 GB, free: 157.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 716 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (885): * Single equations (assignments): 881 * Array equations: 3 * 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 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008418/1.181, allocations: 494.3 kB / 0.8972 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005487/1.181, allocations: 405.8 kB / 0.8976 GB, free: 157 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/1.196, allocations: 7.754 MB / 0.9052 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-05/1.196, allocations: 21.44 kB / 0.9052 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/1.196, allocations: 15.81 kB / 0.9052 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.068e-05/1.196, allocations: 10.77 kB / 0.9052 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02615/1.223, allocations: 15.95 MB / 0.9208 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.223, allocations: 4 kB / 0.9208 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/1.224, allocations: 351.7 kB / 0.9211 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01037/1.235, allocations: 3.501 MB / 0.9246 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002526/1.235, allocations: 13.69 kB / 0.9246 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01701/1.252, allocations: 14.68 MB / 0.9389 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.252, allocations: 0 / 0.9389 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01845/1.271, allocations: 12.24 MB / 0.9509 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/1.272, allocations: 0.8979 MB / 0.9517 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006033/1.273, allocations: 4 kB / 0.9517 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002004/1.275, allocations: 115.9 kB / 0.9518 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003211/1.275, allocations: 113.7 kB / 0.952 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002103/1.276, allocations: 60 kB / 0.952 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002804/1.278, allocations: 2.506 MB / 0.9545 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00476/1.283, allocations: 1.244 MB / 0.9557 GB, free: 112.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (167): * Single equations (assignments): 163 * Array equations: 3 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004476/1.284, allocations: 180.5 kB / 0.9558 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007719/1.291, allocations: 7.518 MB / 0.9632 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.291, allocations: 6.5 kB / 0.9632 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00276/1.294, allocations: 2.807 MB / 0.9659 GB, free: 102 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/1.296, allocations: 395.4 kB / 0.9663 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/1.312, allocations: 10.77 MB / 0.9768 GB, free: 90.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004314/1.316, allocations: 4.51 MB / 0.9812 GB, free: 86.25 MB / 0.4948 GB Notification: Performance of SimCode: time 6.82e-07/1.316, allocations: 0 / 0.9812 GB, free: 86.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.2072/1.523, allocations: 59.8 MB / 1.04 GB, free: 161.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches