Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") [: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.002326/0.002325, allocations: 182.9 kB / 8.155 MB, free: 2.195 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.635/1.635, 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.001296/0.001296, allocations: 82.58 kB / 261.8 MB, free: 13.62 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.2794/0.2793, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.829e-06/9.928e-06, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2735, allocations: 58.84 MB / 476.5 MB, free: 5.066 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.4672, allocations: 108 MB / 0.5709 GB, free: 7.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.4675, allocations: 75.95 kB / 0.5709 GB, free: 6.945 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.6146/1.082, allocations: 103 MB / 0.6715 GB, free: 102.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003659/1.083, allocations: 106.1 kB / 0.6716 GB, free: 102.5 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: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.02815/1.111, allocations: 5.222 MB / 0.6767 GB, free: 100.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.111, allocations: 10.06 kB / 0.6767 GB, free: 100.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04663/1.157, allocations: 6.524 MB / 0.6831 GB, free: 99.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03052/1.188, allocations: 6.956 MB / 0.6899 GB, free: 98.49 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004611/1.189, allocations: 173 kB / 0.69 GB, free: 98.49 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00311/1.192, allocations: 320.4 kB / 0.6903 GB, free: 98.48 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0278/1.22, allocations: 7.456 MB / 0.6976 GB, free: 95.88 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03888/1.258, allocations: 11.38 MB / 0.7087 GB, free: 89.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004372/1.259, allocations: 75.61 kB / 0.7088 GB, free: 89.65 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002494/1.261, allocations: 36 kB / 0.7088 GB, free: 89.65 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002743/1.264, allocations: 1.208 MB / 0.71 GB, free: 89.43 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08664/1.351, allocations: 56.85 MB / 0.7655 GB, free: 34.97 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00699/1.358, allocations: 3.501 MB / 0.769 GB, free: 31.33 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005081/1.363, allocations: 2.444 MB / 0.7713 GB, free: 28.87 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01771/1.381, allocations: 7.723 MB / 0.7789 GB, free: 20.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/1.381, allocations: 55.81 kB / 0.7789 GB, free: 20.87 MB / 474.7 MB Notification: Performance of pre-optimization done (n=190): time 6.513e-06/1.381, allocations: 0 / 0.7789 GB, free: 20.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=213): time 0.06003/1.441, allocations: 18.55 MB / 0.7971 GB, free: 2.242 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/1.441, allocations: 209.2 kB / 0.7972 GB, free: 1.996 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009192/1.45, allocations: 3.746 MB / 0.8009 GB, free: 14.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005612/1.451, allocations: 25.7 kB / 0.8009 GB, free: 14.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003996/1.455, allocations: 3.355 MB / 0.8042 GB, free: 10.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001808/1.457, allocations: 0.7903 MB / 0.805 GB, free: 10 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008544/1.458, allocations: 0 / 0.805 GB, free: 10 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007994/1.459, allocations: 0.5999 MB / 0.8056 GB, free: 9.391 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006653/1.465, allocations: 2.161 MB / 0.8077 GB, free: 7.227 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01064/1.476, allocations: 6.243 MB / 0.8138 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009771/1.486, allocations: 3.686 MB / 0.8174 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001349/1.486, allocations: 44 kB / 0.8174 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=883) (initialization): time 0.02651/1.513, allocations: 7.978 MB / 0.8252 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/1.513, allocations: 8.031 kB / 0.8252 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002536/1.513, allocations: 147.9 kB / 0.8254 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004702/1.518, allocations: 0.8736 MB / 0.8262 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01089/1.529, allocations: 1.54 MB / 0.8277 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1811/1.71, allocations: 6.731 MB / 0.8343 GB, free: 170.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006088/1.716, allocations: 200 kB / 0.8345 GB, free: 170.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001582/1.718, allocations: 417.2 kB / 0.8349 GB, free: 170.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 666 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (823): * Single equations (assignments): 818 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001988/1.72, allocations: 400.7 kB / 0.8353 GB, free: 170.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/1.721, allocations: 404 kB / 0.8356 GB, free: 170.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.732, allocations: 3.375 MB / 0.8389 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000106/1.732, allocations: 20.78 kB / 0.839 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.109e-05/1.732, allocations: 3.844 kB / 0.839 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.226e-05/1.732, allocations: 11.94 kB / 0.839 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02576/1.758, allocations: 8.059 MB / 0.8468 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.042e-05/1.758, allocations: 1.938 kB / 0.8468 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00357/1.762, allocations: 320.7 kB / 0.8471 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004308/1.766, allocations: 0.6642 MB / 0.8478 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004827/1.767, allocations: 12.59 kB / 0.8478 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01227/1.779, allocations: 6.034 MB / 0.8537 GB, free: 167.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/1.779, allocations: 2.781 kB / 0.8537 GB, free: 167.4 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01565/1.795, allocations: 6.163 MB / 0.8597 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00279/1.797, allocations: 0.6969 MB / 0.8604 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001389/1.799, allocations: 0 / 0.8604 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003553/1.803, allocations: 70.61 kB / 0.8605 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006559/1.803, allocations: 96.55 kB / 0.8606 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002388/1.803, allocations: 54.08 kB / 0.8606 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.006715/1.81, allocations: 2.556 MB / 0.8631 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008048/1.818, allocations: 1.008 MB / 0.8641 GB, free: 163.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 159 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007967/1.819, allocations: 142.6 kB / 0.8642 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01308/1.832, allocations: 5.37 MB / 0.8695 GB, free: 162.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.832, allocations: 0 / 0.8695 GB, free: 162.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005012/1.837, allocations: 1.838 MB / 0.8713 GB, free: 161.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004131/1.841, allocations: 437.5 kB / 0.8717 GB, free: 161.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03095/1.873, allocations: 9.924 MB / 0.8814 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01127/1.884, allocations: 4.431 MB / 0.8857 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of SimCode: time 3.467e-06/1.884, allocations: 2.625 kB / 0.8857 GB, free: 156.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.193/2.077, allocations: 110.9 MB / 0.994 GB, free: 63.4 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches