Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2") [: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.001683/0.001683, allocations: 171.1 kB / 8.147 MB, free: 2.223 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.677/1.677, 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.001269/0.001268, allocations: 93.61 kB / 261.8 MB, free: 13.63 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.2871/0.2871, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.09e-05/1.106e-05, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.272, allocations: 58.84 MB / 476.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1929/0.465, allocations: 107.5 MB / 0.5703 GB, free: 7.551 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.4653, allocations: 83.39 kB / 0.5704 GB, free: 7.473 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.6181/1.083, allocations: 95.87 MB / 0.664 GB, free: 108.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002931/1.084, allocations: 94.95 kB / 0.6641 GB, free: 108.9 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02126/1.105, allocations: 5.031 MB / 0.669 GB, free: 106.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.105, allocations: 11.22 kB / 0.669 GB, free: 106.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03146/1.137, allocations: 4.19 MB / 0.6731 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02307/1.16, allocations: 6.138 MB / 0.6791 GB, free: 105.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003154/1.16, allocations: 148.6 kB / 0.6793 GB, free: 105.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002741/1.163, allocations: 268.4 kB / 0.6795 GB, free: 105.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01979/1.183, allocations: 7.662 MB / 0.687 GB, free: 103.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03101/1.214, allocations: 11.09 MB / 0.6978 GB, free: 97.92 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003606/1.214, allocations: 70.47 kB / 0.6979 GB, free: 97.88 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002212/1.216, allocations: 31.5 kB / 0.6979 GB, free: 97.88 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003211/1.22, allocations: 1.349 MB / 0.6993 GB, free: 97.63 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09356/1.313, allocations: 55.44 MB / 0.7534 GB, free: 49.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008427/1.322, allocations: 4.434 MB / 0.7577 GB, free: 44.59 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00646/1.328, allocations: 3.236 MB / 0.7609 GB, free: 41.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03196/1.36, allocations: 12.98 MB / 0.7736 GB, free: 28.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.665e-05/1.36, allocations: 55.81 kB / 0.7736 GB, free: 27.95 MB / 474.7 MB Notification: Performance of pre-optimization done (n=193): time 5.811e-06/1.36, allocations: 0 / 0.7736 GB, free: 27.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=254): time 0.1178/1.478, allocations: 27.71 MB / 0.8007 GB, free: 152 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/1.478, allocations: 205.9 kB / 0.8009 GB, free: 15.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/1.488, allocations: 3.367 MB / 0.8042 GB, free: 12.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008743/1.489, allocations: 29.7 kB / 0.8042 GB, free: 12.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00354/1.493, allocations: 3.177 MB / 0.8073 GB, free: 9.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002135/1.495, allocations: 0.9212 MB / 0.8082 GB, free: 8.316 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001091/1.496, allocations: 0 / 0.8082 GB, free: 8.316 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001122/1.497, allocations: 0.6121 MB / 0.8088 GB, free: 7.695 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009046/1.507, allocations: 2.993 MB / 0.8117 GB, free: 4.695 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01363/1.52, allocations: 7.042 MB / 0.8186 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01244/1.533, allocations: 4.548 MB / 0.823 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001355/1.533, allocations: 40 kB / 0.8231 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.2114/1.744, allocations: 11.4 MB / 0.8342 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/1.744, allocations: 4.75 kB / 0.8342 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002237/1.745, allocations: 145.8 kB / 0.8343 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01711/1.762, allocations: 2.79 MB / 0.8371 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01079/1.773, allocations: 1.581 MB / 0.8386 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03486/1.807, allocations: 13.71 MB / 0.852 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007965/1.816, allocations: 269.6 kB / 0.8523 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001933/1.818, allocations: 424.5 kB / 0.8527 GB, free: 171.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 657 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (839): * Single equations (assignments): 835 * 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%) 53} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002183/1.82, allocations: 397.9 kB / 0.853 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/1.821, allocations: 378.6 kB / 0.8534 GB, free: 171.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02895/1.85, allocations: 7.006 MB / 0.8602 GB, free: 170.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001125/1.85, allocations: 24.94 kB / 0.8603 GB, free: 170.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.298e-05/1.85, allocations: 7.75 kB / 0.8603 GB, free: 170.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.788e-05/1.85, allocations: 15.58 kB / 0.8603 GB, free: 170.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0484/1.899, allocations: 13.82 MB / 0.8738 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.76e-05/1.899, allocations: 0 / 0.8738 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004122/1.903, allocations: 353.6 kB / 0.8741 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01708/1.92, allocations: 2.622 MB / 0.8767 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007726/1.921, allocations: 7.719 kB / 0.8767 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03445/1.955, allocations: 11.91 MB / 0.8883 GB, free: 160.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/1.955, allocations: 3.625 kB / 0.8883 GB, free: 160.4 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03658/1.992, allocations: 11.1 MB / 0.8992 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003521/1.995, allocations: 0.8743 MB / 0.9 GB, free: 156 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001738/1.997, allocations: 5.125 kB / 0.9 GB, free: 156 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005023/2.002, allocations: 111.2 kB / 0.9001 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009997/2.003, allocations: 114.5 kB / 0.9002 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003559/2.004, allocations: 56 kB / 0.9003 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.006036/2.01, allocations: 2.269 MB / 0.9025 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008737/2.019, allocations: 1.114 MB / 0.9036 GB, free: 152.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * 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 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001097/2.02, allocations: 148.8 kB / 0.9037 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0172/2.037, allocations: 7.213 MB / 0.9108 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/2.037, allocations: 4 kB / 0.9108 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008327/2.045, allocations: 2.901 MB / 0.9136 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003981/2.049, allocations: 356.1 kB / 0.914 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0338/2.083, allocations: 10.44 MB / 0.9241 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01113/2.094, allocations: 4.091 MB / 0.9281 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.553e-06/2.094, allocations: 0 / 0.9281 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.1607/2.255, allocations: 90.75 MB / 1.017 GB, free: 44.44 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches