Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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.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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009654/0.0009654, allocations: 186.2 kB / 7.802 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.012/1.012, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0007893/0.000789, allocations: 92.3 kB / 261.4 MB, free: 13.61 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.1464/0.1464, allocations: 43.48 MB / 352.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.853e-06/6.863e-06, allocations: 4 kB / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2024, allocations: 58.84 MB / 476.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.3168, allocations: 107.5 MB / 0.5703 GB, free: 7.445 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/0.317, allocations: 79.45 kB / 0.5704 GB, free: 7.371 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.356/0.6731, allocations: 95.87 MB / 0.664 GB, free: 109 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001953/0.6733, allocations: 90.72 kB / 0.6641 GB, free: 109 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.01131/0.6846, allocations: 5.031 MB / 0.669 GB, free: 107.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.6847, allocations: 9.719 kB / 0.6691 GB, free: 107.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01537/0.7, allocations: 4.192 MB / 0.6731 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01284/0.7129, allocations: 6.137 MB / 0.6791 GB, free: 106 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.7131, allocations: 152 kB / 0.6793 GB, free: 106 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/0.7143, allocations: 269.9 kB / 0.6795 GB, free: 106 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009286/0.7236, allocations: 7.663 MB / 0.687 GB, free: 103.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01257/0.7362, allocations: 11.09 MB / 0.6979 GB, free: 98.08 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000135/0.7364, allocations: 69.88 kB / 0.6979 GB, free: 98.04 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005045/0.7369, allocations: 32.81 kB / 0.698 GB, free: 98.04 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001507/0.7384, allocations: 1.343 MB / 0.6993 GB, free: 97.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04839/0.7868, allocations: 55.43 MB / 0.7534 GB, free: 48.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00388/0.7907, allocations: 4.445 MB / 0.7577 GB, free: 44.39 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00252/0.7933, allocations: 3.236 MB / 0.7609 GB, free: 41.15 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0139/0.8072, allocations: 12.98 MB / 0.7736 GB, free: 27.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.8073, allocations: 59.8 kB / 0.7736 GB, free: 27.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=193): time 5.581e-06/0.8073, allocations: 0 / 0.7736 GB, free: 27.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=254): time 0.05212/0.8594, allocations: 27.71 MB / 0.8007 GB, free: 15.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/0.8595, allocations: 205.9 kB / 0.8009 GB, free: 15.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004402/0.8639, allocations: 3.363 MB / 0.8042 GB, free: 12.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002813/0.8642, allocations: 29.7 kB / 0.8042 GB, free: 12.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0018/0.866, allocations: 3.235 MB / 0.8074 GB, free: 8.992 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008225/0.8669, allocations: 0.9173 MB / 0.8083 GB, free: 8.062 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.8671, allocations: 0 / 0.8083 GB, free: 8.062 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003664/0.8675, allocations: 0.6073 MB / 0.8088 GB, free: 7.449 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003706/0.8712, allocations: 2.997 MB / 0.8118 GB, free: 4.449 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005893/0.8771, allocations: 7.042 MB / 0.8187 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005343/0.8825, allocations: 4.552 MB / 0.8231 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.663e-05/0.8825, allocations: 40 kB / 0.8231 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.1319/1.014, allocations: 11.51 MB / 0.8344 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.015, allocations: 6.438 kB / 0.8344 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/1.015, allocations: 142.9 kB / 0.8345 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00819/1.023, allocations: 2.94 MB / 0.8374 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005189/1.028, allocations: 1.585 MB / 0.8389 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/1.045, allocations: 13.28 MB / 0.8519 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004832/1.05, allocations: 277.4 kB / 0.8522 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000898/1.051, allocations: 425.1 kB / 0.8526 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 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008718/1.051, allocations: 470.6 kB / 0.853 GB, free: 171.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005711/1.052, allocations: 375.9 kB / 0.8534 GB, free: 171.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/1.064, allocations: 7.003 MB / 0.8602 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.731e-05/1.064, allocations: 22.34 kB / 0.8602 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/1.064, allocations: 14.94 kB / 0.8603 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/1.064, allocations: 11.44 kB / 0.8603 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02044/1.085, allocations: 13.81 MB / 0.8738 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/1.085, allocations: 6.719 kB / 0.8738 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/1.086, allocations: 352.8 kB / 0.8741 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007558/1.094, allocations: 2.62 MB / 0.8767 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/1.094, allocations: 5.656 kB / 0.8767 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01558/1.11, allocations: 11.91 MB / 0.8883 GB, free: 160.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.11, allocations: 3.219 kB / 0.8883 GB, free: 160.7 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01574/1.126, allocations: 11.1 MB / 0.8991 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001605/1.127, allocations: 0.8685 MB / 0.9 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005528/1.128, allocations: 8 kB / 0.9 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/1.13, allocations: 104.6 kB / 0.9001 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/1.13, allocations: 110.5 kB / 0.9002 GB, free: 155.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/1.13, allocations: 64 kB / 0.9003 GB, free: 155.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002415/1.133, allocations: 2.263 MB / 0.9025 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004227/1.137, allocations: 1.114 MB / 0.9036 GB, free: 152.2 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.0003912/1.137, allocations: 151.1 kB / 0.9037 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008956/1.146, allocations: 7.494 MB / 0.911 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.146, allocations: 6.438 kB / 0.911 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003444/1.15, allocations: 2.902 MB / 0.9139 GB, free: 143 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/1.152, allocations: 361.8 kB / 0.9142 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/1.167, allocations: 9.904 MB / 0.9239 GB, free: 134 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004242/1.171, allocations: 4.061 MB / 0.9278 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/1.171, allocations: 0 / 0.9278 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.07559/1.247, allocations: 55.07 MB / 0.9816 GB, free: 80.6 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches