Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001187/0.001187, allocations: 96.42 kB / 17 MB, free: 6.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 181.5 kB / 17.89 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.3 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2305/0.2305, allocations: 44.25 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003287, allocations: 14.22 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1298, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.3337/0.4636, allocations: 63.13 MB / 0.5222 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0363/0.4999, allocations: 13.3 MB / 0.5352 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01907/0.5191, allocations: 306.5 kB / 0.5355 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01314/0.5322, allocations: 3.293 MB / 0.5387 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02913/0.5614, allocations: 9.669 MB / 0.5481 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005738/0.5672, allocations: 0.8118 MB / 0.5489 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.08118/0.6484, allocations: 61.98 MB / 0.6095 GB, free: 7.465 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01242/0.6608, allocations: 6.557 MB / 0.6159 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004589/0.6655, allocations: 1.662 MB / 0.6175 GB, free: 15.17 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004859/0.6704, allocations: 2.535 MB / 0.62 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.6718, allocations: 180 kB / 0.6201 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.6752, allocations: 0.9792 MB / 0.6211 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003925/0.6791, allocations: 2.17 MB / 0.6232 GB, free: 9.297 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00292/0.6821, allocations: 1.041 MB / 0.6242 GB, free: 8.246 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009953/0.6921, allocations: 7.115 MB / 0.6312 GB, free: 1.117 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.6921, allocations: 0 / 0.6312 GB, free: 1.117 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6921, allocations: 0 / 0.6312 GB, free: 1.117 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004035/0.6925, allocations: 0 / 0.6312 GB, free: 1.117 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01597/0.7085, allocations: 5.113 MB / 0.6362 GB, free: 11.93 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.7086, allocations: 8.031 kB / 0.6362 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.7204, allocations: 2.633 MB / 0.6387 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/0.7306, allocations: 3.731 MB / 0.6424 GB, free: 5.496 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003153/0.7309, allocations: 303.8 kB / 0.6427 GB, free: 5.199 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001624/0.7325, allocations: 431.6 kB / 0.6431 GB, free: 4.777 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02539/0.7579, allocations: 11.72 MB / 0.6545 GB, free: 8.312 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002767/0.7583, allocations: 63.42 kB / 0.6546 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001543/0.7598, allocations: 187.9 kB / 0.6548 GB, free: 8.066 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003876/0.7637, allocations: 2.081 MB / 0.6568 GB, free: 5.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02441/0.7882, allocations: 10.08 MB / 0.6667 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3862/1.174, allocations: 45.96 MB / 0.7115 GB, free: 183.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/1.186, allocations: 4.362 MB / 0.7158 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004869/1.191, allocations: 2.473 MB / 0.7182 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01769/1.208, allocations: 9.844 MB / 0.7278 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/1.209, allocations: 52.34 kB / 0.7279 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 4.96e-06/1.209, allocations: 0 / 0.7279 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.05363/1.262, allocations: 19.97 MB / 0.7474 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.262, allocations: 204.7 kB / 0.7476 GB, free: 170.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009719/1.272, allocations: 4.685 MB / 0.7521 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004212/1.273, allocations: 59.11 kB / 0.7522 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002094/1.275, allocations: 3.596 MB / 0.7557 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008098/1.275, allocations: 0.763 MB / 0.7565 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002833/1.276, allocations: 128 kB / 0.7566 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002705/1.276, allocations: 0.5851 MB / 0.7572 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002871/1.279, allocations: 2.39 MB / 0.7595 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004405/1.283, allocations: 6.254 MB / 0.7656 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004257/1.288, allocations: 3.782 MB / 0.7693 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-05/1.288, allocations: 36 kB / 0.7693 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01375/1.301, allocations: 9.758 MB / 0.7789 GB, free: 137 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.168e-05/1.302, allocations: 64 kB / 0.7789 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001989/1.302, allocations: 132 kB / 0.779 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003685/1.305, allocations: 1.639 MB / 0.7806 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004022/1.31, allocations: 1.486 MB / 0.7821 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/1.32, allocations: 9.535 MB / 0.7914 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005465/1.325, allocations: 371.4 kB / 0.7918 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/1.327, allocations: 389.4 kB / 0.7921 GB, free: 123.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (796): * Single equations (assignments): 791 * 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 {(3,77.8%) 31,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005023/1.332, allocations: 2.491 MB / 0.7946 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/1.333, allocations: 412.3 kB / 0.795 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007644/1.34, allocations: 4.248 MB / 0.7991 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.35e-05/1.34, allocations: 20.7 kB / 0.7991 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.986e-05/1.34, allocations: 8 kB / 0.7991 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/1.34, allocations: 7.969 kB / 0.7991 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/1.358, allocations: 9.769 MB / 0.8087 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/1.358, allocations: 0 / 0.8087 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/1.36, allocations: 311.5 kB / 0.809 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00343/1.363, allocations: 1.354 MB / 0.8103 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002068/1.363, allocations: 39.98 kB / 0.8103 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009472/1.373, allocations: 8.737 MB / 0.8189 GB, free: 95.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.373, allocations: 4 kB / 0.8189 GB, free: 95.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/1.384, allocations: 6.968 MB / 0.8257 GB, free: 88.37 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/1.385, allocations: 467.7 kB / 0.8261 GB, free: 87.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/1.387, allocations: 28 kB / 0.8262 GB, free: 87.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/1.389, allocations: 125.1 kB / 0.8263 GB, free: 87.74 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003526/1.389, allocations: 121.1 kB / 0.8264 GB, free: 87.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.389, allocations: 48.62 kB / 0.8264 GB, free: 87.58 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005427/1.395, allocations: 2.948 MB / 0.8293 GB, free: 84.63 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.71e-07/1.395, allocations: 480 / 0.8293 GB, free: 84.63 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006616/1.401, allocations: 1.202 MB / 0.8305 GB, free: 83.43 MB / 0.5294 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 142 * 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.0005287/1.402, allocations: 164.6 kB / 0.8306 GB, free: 83.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008964/1.411, allocations: 5.961 MB / 0.8365 GB, free: 77.31 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.411, allocations: 0 / 0.8365 GB, free: 77.31 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002811/1.414, allocations: 2.005 MB / 0.8384 GB, free: 75.29 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/1.418, allocations: 0.5227 MB / 0.8389 GB, free: 74.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/1.44, allocations: 13.17 MB / 0.8518 GB, free: 61.56 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006069/1.446, allocations: 3.864 MB / 0.8556 GB, free: 57.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004967/1.451, allocations: 2 MB / 0.8575 GB, free: 55.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006563/1.452, allocations: 263.4 kB / 0.8578 GB, free: 55.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.302e-06/1.452, allocations: 0 / 0.8578 GB, free: 55.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.07426/1.526, allocations: 42.23 MB / 0.899 GB, free: 13.39 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches