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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 180.7 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4192/0.4192, allocations: 43.58 MB / 315 MB, free: 8.82 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005392/0.0005393, allocations: 12 kB / 384.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1424, allocations: 58.87 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.2978/0.4403, allocations: 68.52 MB / 0.5 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0361/0.4764, allocations: 13.97 MB / 0.5136 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01669/0.4932, allocations: 308.3 kB / 0.5139 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002542/0.4958, allocations: 0.5168 MB / 0.5144 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007817/0.5036, allocations: 2.134 MB / 0.5165 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.5061, allocations: 0.8551 MB / 0.5173 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01392/0.52, allocations: 8.528 MB / 0.5257 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01322/0.5333, allocations: 7.443 MB / 0.5329 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004311/0.5377, allocations: 1.583 MB / 0.5345 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004983/0.5427, allocations: 2.67 MB / 0.5371 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001421/0.5441, allocations: 199.9 kB / 0.5373 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003419/0.5476, allocations: 1.135 MB / 0.5384 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003189/0.5508, allocations: 2.298 MB / 0.5406 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003783/0.5546, allocations: 2.614 MB / 0.5432 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.5662, allocations: 8.895 MB / 0.5519 GB, free: 0.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.739e-06/0.5663, allocations: 0 / 0.5519 GB, free: 0.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.27e-06/0.5663, allocations: 0 / 0.5519 GB, free: 0.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005219/0.5669, allocations: 0 / 0.5519 GB, free: 0.625 MB / 414.1 MB 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.01718/0.5841, allocations: 5.212 MB / 0.557 GB, free: 11.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.153e-05/0.5841, allocations: 8.031 kB / 0.557 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/0.5976, allocations: 2.661 MB / 0.5596 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/0.608, allocations: 3.976 MB / 0.5634 GB, free: 4.621 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003805/0.6084, allocations: 316.5 kB / 0.5637 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002271/0.6107, allocations: 444 kB / 0.5642 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02386/0.6346, allocations: 12.27 MB / 0.5761 GB, free: 6.836 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002226/0.6348, allocations: 47.59 kB / 0.5762 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008011/0.6357, allocations: 191.8 kB / 0.5764 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003879/0.6395, allocations: 2.21 MB / 0.5785 GB, free: 4.391 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02447/0.664, allocations: 10.56 MB / 0.5888 GB, free: 9.812 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3568/1.021, allocations: 47.6 MB / 0.6353 GB, free: 111.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/1.032, allocations: 4.6 MB / 0.6398 GB, free: 110.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003165/1.035, allocations: 2.646 MB / 0.6424 GB, free: 110.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01442/1.05, allocations: 10.43 MB / 0.6526 GB, free: 107.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/1.05, allocations: 53.66 kB / 0.6526 GB, free: 107.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=192): time 5.07e-06/1.05, allocations: 2.906 kB / 0.6526 GB, free: 107.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.06162/1.112, allocations: 21.02 MB / 0.6732 GB, free: 100.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/1.112, allocations: 201 kB / 0.6734 GB, free: 99.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/1.122, allocations: 4.829 MB / 0.6781 GB, free: 98.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005978/1.123, allocations: 60.06 kB / 0.6781 GB, free: 98.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002622/1.126, allocations: 3.725 MB / 0.6818 GB, free: 95.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00112/1.127, allocations: 0.8288 MB / 0.6826 GB, free: 94.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000758/1.127, allocations: 0.5956 MB / 0.6832 GB, free: 94.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.238e-05/1.127, allocations: 306.1 kB / 0.6835 GB, free: 94.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003377/1.131, allocations: 2.584 MB / 0.686 GB, free: 93.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00468/1.136, allocations: 6.562 MB / 0.6924 GB, free: 87.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009382/1.145, allocations: 9.823 MB / 0.702 GB, free: 79.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/1.145, allocations: 37.25 kB / 0.702 GB, free: 79.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01755/1.163, allocations: 10.27 MB / 0.712 GB, free: 73.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.986e-05/1.163, allocations: 67.94 kB / 0.7121 GB, free: 73.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/1.163, allocations: 140 kB / 0.7122 GB, free: 72.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003785/1.167, allocations: 1.623 MB / 0.7138 GB, free: 71.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004445/1.171, allocations: 1.563 MB / 0.7154 GB, free: 69.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009533/1.181, allocations: 9.567 MB / 0.7247 GB, free: 60.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005406/1.186, allocations: 390.5 kB / 0.7251 GB, free: 59.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009504/1.187, allocations: 415 kB / 0.7255 GB, free: 59.34 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (834): * Single equations (assignments): 829 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004359/1.191, allocations: 2.572 MB / 0.728 GB, free: 56.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/1.193, allocations: 426.5 kB / 0.7284 GB, free: 56.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008218/1.201, allocations: 4.637 MB / 0.7329 GB, free: 51.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.759e-05/1.201, allocations: 27.94 kB / 0.7329 GB, free: 51.65 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.561e-05/1.201, allocations: 4 kB / 0.7329 GB, free: 51.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/1.201, allocations: 11.97 kB / 0.733 GB, free: 51.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02454/1.225, allocations: 10.5 MB / 0.7432 GB, free: 41.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/1.226, allocations: 0 / 0.7432 GB, free: 41.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/1.227, allocations: 347.5 kB / 0.7435 GB, free: 40.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003628/1.231, allocations: 1.362 MB / 0.7449 GB, free: 39.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002672/1.231, allocations: 47.02 kB / 0.7449 GB, free: 39.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009367/1.24, allocations: 8.736 MB / 0.7534 GB, free: 30.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/1.241, allocations: 3.938 kB / 0.7535 GB, free: 30.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/1.252, allocations: 7.579 MB / 0.7609 GB, free: 22.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002507/1.255, allocations: 0.7922 MB / 0.7616 GB, free: 21.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001388/1.256, allocations: 32 kB / 0.7617 GB, free: 21.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003004/1.259, allocations: 135.8 kB / 0.7618 GB, free: 21.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006626/1.26, allocations: 141.7 kB / 0.7619 GB, free: 21.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002885/1.26, allocations: 59.42 kB / 0.762 GB, free: 21.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006588/1.267, allocations: 3.041 MB / 0.7649 GB, free: 18.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.71e-07/1.267, allocations: 0 / 0.7649 GB, free: 18.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008177/1.275, allocations: 1.26 MB / 0.7662 GB, free: 17.28 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009246/1.276, allocations: 181 kB / 0.7664 GB, free: 17.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01092/1.287, allocations: 6.389 MB / 0.7726 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/1.287, allocations: 4 kB / 0.7726 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003653/1.291, allocations: 2.195 MB / 0.7747 GB, free: 8.508 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005923/1.297, allocations: 0.5213 MB / 0.7752 GB, free: 7.996 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0254/1.322, allocations: 14.49 MB / 0.7894 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00713/1.329, allocations: 4.003 MB / 0.7933 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006441/1.336, allocations: 2.091 MB / 0.7953 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/1.337, allocations: 287.4 kB / 0.7956 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of SimCode: time 1.723e-06/1.337, allocations: 0 / 0.7956 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of Templates: time 0.3414/1.678, allocations: 44.93 MB / 0.8395 GB, free: 160.8 MB / 0.5294 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