Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.Parts.Rotor1D.GearConstraint,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_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,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_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0007824/0.0007823, allocations: 82.62 kB / 267 MB, free: 9.281 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.3168/0.3168, allocations: 43.47 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.301e-05/2.304e-05, allocations: 8 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3466/0.4512, allocations: 108.7 MB / 0.579 GB, free: 13.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.4515, allocations: 93.16 kB / 0.5791 GB, free: 13.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2472/0.6986, allocations: 107.3 MB / 0.6839 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6987, allocations: 0 / 0.6839 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002326/0.6989, allocations: 115.9 kB / 0.684 GB, free: 10.42 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.01353/0.7125, allocations: 5.263 MB / 0.6891 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.7125, allocations: 8.031 kB / 0.6891 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2692/0.9818, allocations: 6.938 MB / 0.6959 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01628/0.9981, allocations: 6.886 MB / 0.7026 GB, free: 87.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/0.9983, allocations: 409.8 kB / 0.703 GB, free: 87.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001235/0.9996, allocations: 0.5337 MB / 0.7035 GB, free: 87.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02193/1.022, allocations: 12.68 MB / 0.7159 GB, free: 84.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001961/1.022, allocations: 79.97 kB / 0.716 GB, free: 84.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006879/1.022, allocations: 257.4 kB / 0.7162 GB, free: 84.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001224/1.024, allocations: 1.127 MB / 0.7173 GB, free: 84.44 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01745/1.041, allocations: 10.3 MB / 0.7274 GB, free: 84.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05439/1.096, allocations: 57.21 MB / 0.7833 GB, free: 45.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00909/1.105, allocations: 4.359 MB / 0.7875 GB, free: 44.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002372/1.107, allocations: 2.387 MB / 0.7899 GB, free: 43.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01258/1.12, allocations: 9.958 MB / 0.7996 GB, free: 38.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/1.12, allocations: 57.31 kB / 0.7996 GB, free: 38.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=192): time 4.979e-06/1.12, allocations: 0 / 0.7996 GB, free: 38.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=218): time 0.03578/1.156, allocations: 16.21 MB / 0.8155 GB, free: 31.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/1.156, allocations: 200 kB / 0.8157 GB, free: 31.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004947/1.161, allocations: 4.207 MB / 0.8198 GB, free: 30.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002794/1.161, allocations: 60.2 kB / 0.8198 GB, free: 30.06 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001639/1.163, allocations: 3.786 MB / 0.8235 GB, free: 27.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006547/1.163, allocations: 0.8359 MB / 0.8243 GB, free: 26.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/1.164, allocations: 130.8 kB / 0.8245 GB, free: 26.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000246/1.164, allocations: 0.5786 MB / 0.825 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002443/1.166, allocations: 2.19 MB / 0.8272 GB, free: 25.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003951/1.17, allocations: 6.146 MB / 0.8332 GB, free: 19.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003889/1.174, allocations: 3.655 MB / 0.8367 GB, free: 17.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.257e-05/1.174, allocations: 43.75 kB / 0.8368 GB, free: 17.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.0119/1.186, allocations: 8.826 MB / 0.8454 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.731e-05/1.186, allocations: 64.5 kB / 0.8455 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001407/1.186, allocations: 141.7 kB / 0.8456 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002219/1.189, allocations: 0.9461 MB / 0.8465 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004253/1.193, allocations: 1.507 MB / 0.848 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006937/1.2, allocations: 7.416 MB / 0.8552 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004706/1.204, allocations: 365.6 kB / 0.8556 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007566/1.205, allocations: 399.5 kB / 0.856 GB, free: 4.879 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 638 * 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 (798): * Single equations (assignments): 793 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008563/1.206, allocations: 0.618 MB / 0.8566 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000599/1.207, allocations: 426.5 kB / 0.857 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005409/1.212, allocations: 3.538 MB / 0.8604 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.743e-05/1.212, allocations: 27.95 kB / 0.8604 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/1.212, allocations: 11.94 kB / 0.8605 GB, free: 0.875 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/1.212, allocations: 10.36 kB / 0.8605 GB, free: 0.875 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/1.23, allocations: 9.325 MB / 0.8696 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/1.23, allocations: 4 kB / 0.8696 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/1.231, allocations: 352.5 kB / 0.8699 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001964/1.233, allocations: 0.6815 MB / 0.8706 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/1.233, allocations: 38.67 kB / 0.8706 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007177/1.241, allocations: 6.551 MB / 0.877 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.241, allocations: 0 / 0.877 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/1.253, allocations: 6.513 MB / 0.8834 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002357/1.255, allocations: 0.7415 MB / 0.8841 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007066/1.256, allocations: 35.83 kB / 0.8841 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/1.257, allocations: 114.7 kB / 0.8842 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003791/1.258, allocations: 133.6 kB / 0.8844 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/1.258, allocations: 55.28 kB / 0.8844 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005265/1.263, allocations: 2.969 MB / 0.8873 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.61e-07/1.263, allocations: 0 / 0.8873 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005852/1.269, allocations: 1.184 MB / 0.8885 GB, free: 8.938 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (169): * Single equations (assignments): 164 * 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.000465/1.27, allocations: 178.7 kB / 0.8886 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009062/1.279, allocations: 5.649 MB / 0.8942 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/1.279, allocations: 4 kB / 0.8942 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003/1.282, allocations: 1.951 MB / 0.8961 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/1.285, allocations: 0.525 MB / 0.8966 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2507/1.535, allocations: 9.302 MB / 0.9057 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004785/1.54, allocations: 4.11 MB / 0.9097 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004867/1.545, allocations: 2.099 MB / 0.9117 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007395/1.546, allocations: 287.4 kB / 0.912 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.063e-06/1.546, allocations: 0 / 0.912 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.06854/1.614, allocations: 41.15 MB / 0.9522 GB, free: 102.7 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches