Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [: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.00237/0.002369, allocations: 173.3 kB / 8.145 MB, free: 2.211 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.689/1.689, 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.001284/0.001284, allocations: 85.56 kB / 261.8 MB, free: 13.61 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.265/0.265, allocations: 43.48 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.684e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2833, allocations: 58.84 MB / 476.5 MB, free: 5.07 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.196/0.4794, allocations: 109.3 MB / 0.5721 GB, free: 5.719 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.4797, allocations: 83.89 kB / 0.5722 GB, free: 5.637 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.5628/1.042, allocations: 88.36 MB / 0.6585 GB, free: 107.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002388/1.043, allocations: 87.66 kB / 0.6586 GB, free: 107.7 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: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.01595/1.059, allocations: 4.127 MB / 0.6626 GB, free: 105.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.059, allocations: 10.19 kB / 0.6626 GB, free: 105.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03078/1.09, allocations: 4.076 MB / 0.6666 GB, free: 105.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01876/1.108, allocations: 4.804 MB / 0.6713 GB, free: 104.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003207/1.109, allocations: 147.8 kB / 0.6714 GB, free: 104.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002434/1.111, allocations: 271 kB / 0.6717 GB, free: 104.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01726/1.129, allocations: 6.495 MB / 0.678 GB, free: 104.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02584/1.154, allocations: 9.901 MB / 0.6877 GB, free: 99.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003443/1.155, allocations: 61.69 kB / 0.6877 GB, free: 99.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002125/1.157, allocations: 29.16 kB / 0.6878 GB, free: 99.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00217/1.159, allocations: 1.062 MB / 0.6888 GB, free: 99.16 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07011/1.229, allocations: 45.52 MB / 0.7333 GB, free: 64.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005913/1.235, allocations: 2.678 MB / 0.7359 GB, free: 63.16 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004227/1.24, allocations: 1.681 MB / 0.7375 GB, free: 62.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01494/1.255, allocations: 5.453 MB / 0.7428 GB, free: 57.68 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/1.255, allocations: 56.16 kB / 0.7429 GB, free: 57.62 MB / 474.7 MB Notification: Performance of pre-optimization done (n=170): time 5.6e-06/1.255, allocations: 0 / 0.7429 GB, free: 57.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=188): time 0.03862/1.293, allocations: 12.14 MB / 0.7547 GB, free: 46.72 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.742e-05/1.293, allocations: 202.4 kB / 0.7549 GB, free: 46.48 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007881/1.301, allocations: 3.024 MB / 0.7579 GB, free: 43.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004623/1.302, allocations: 25.7 kB / 0.7579 GB, free: 43.74 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002168/1.304, allocations: 3.091 MB / 0.7609 GB, free: 40.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001117/1.305, allocations: 0.7017 MB / 0.7616 GB, free: 39.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007429/1.306, allocations: 0 / 0.7616 GB, free: 39.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006214/1.307, allocations: 0.5713 MB / 0.7622 GB, free: 39.31 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005291/1.312, allocations: 1.984 MB / 0.7641 GB, free: 37.32 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007555/1.32, allocations: 5.824 MB / 0.7698 GB, free: 29.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007508/1.327, allocations: 3.389 MB / 0.7731 GB, free: 26.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001104/1.327, allocations: 44 kB / 0.7732 GB, free: 26.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=815) (initialization): time 0.01887/1.346, allocations: 6.982 MB / 0.78 GB, free: 19.13 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.346, allocations: 9 kB / 0.78 GB, free: 19.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000189/1.346, allocations: 136.2 kB / 0.7801 GB, free: 18.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/1.348, allocations: 397.7 kB / 0.7805 GB, free: 18.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009665/1.357, allocations: 1.474 MB / 0.7819 GB, free: 17.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00477/1.362, allocations: 2.867 MB / 0.7847 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005918/1.368, allocations: 219.6 kB / 0.7849 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001453/1.37, allocations: 388 kB / 0.7853 GB, free: 13.56 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (777): * Single equations (assignments): 773 * 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 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001701/1.371, allocations: 370.2 kB / 0.7857 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008323/1.372, allocations: 323.8 kB / 0.786 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007506/1.38, allocations: 2.564 MB / 0.7885 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.396e-05/1.38, allocations: 16 kB / 0.7885 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/1.38, allocations: 11.91 kB / 0.7885 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.464e-05/1.38, allocations: 7.969 kB / 0.7885 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/1.4, allocations: 6.282 MB / 0.7946 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.43e-05/1.4, allocations: 4 kB / 0.7946 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0036/1.404, allocations: 331.5 kB / 0.795 GB, free: 3.637 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000991/1.405, allocations: 180.7 kB / 0.7951 GB, free: 3.457 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003998/1.405, allocations: 11.98 kB / 0.7951 GB, free: 3.445 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004054/1.409, allocations: 2.404 MB / 0.7975 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/1.409, allocations: 11.98 kB / 0.7975 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01316/1.423, allocations: 5.097 MB / 0.8025 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002336/1.425, allocations: 0.5827 MB / 0.8031 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/1.426, allocations: 4 kB / 0.8031 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003214/1.429, allocations: 82.66 kB / 0.8031 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006931/1.43, allocations: 109 kB / 0.8032 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000259/1.43, allocations: 55.98 kB / 0.8033 GB, free: 10.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.005843/1.436, allocations: 2.019 MB / 0.8053 GB, free: 8.922 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007427/1.444, allocations: 0.8476 MB / 0.8061 GB, free: 8.074 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 154 * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008635/1.445, allocations: 145.7 kB / 0.8062 GB, free: 7.926 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0131/1.458, allocations: 4.73 MB / 0.8108 GB, free: 3.223 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/1.458, allocations: 7.938 kB / 0.8109 GB, free: 3.215 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00678/1.465, allocations: 1.491 MB / 0.8123 GB, free: 1.711 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0048/1.469, allocations: 310.2 kB / 0.8126 GB, free: 1.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03044/1.5, allocations: 8.219 MB / 0.8206 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01161/1.512, allocations: 3.845 MB / 0.8244 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of SimCode: time 1.824e-06/1.512, allocations: 0 / 0.8244 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of Templates: time 0.2997/1.811, allocations: 74.38 MB / 0.897 GB, free: 156.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches