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.001659/0.001659, allocations: 105.5 kB / 18.45 MB, free: 4.602 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.001944/0.001944, allocations: 184.3 kB / 19.38 MB, free: 3.68 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.421/1.421, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2226/0.2226, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3498, allocations: 60.83 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01709/0.367, allocations: 13.62 MB / 0.5329 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.38, allocations: 4.545 MB / 0.5373 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003733/0.3838, allocations: 94.5 kB / 0.5374 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008624/0.3925, allocations: 4.198 MB / 0.5415 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006193/0.3987, allocations: 2.231 MB / 0.5437 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.401, allocations: 0.9375 MB / 0.5446 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008546/0.4096, allocations: 6.08 MB / 0.5505 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00768/0.4173, allocations: 5.217 MB / 0.5556 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004103/0.4214, allocations: 2.134 MB / 0.5577 GB, free: 4.855 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005316/0.4268, allocations: 2.824 MB / 0.5605 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001855/0.4287, allocations: 476 kB / 0.5609 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004137/0.4328, allocations: 1.362 MB / 0.5623 GB, free: 200 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003604/0.4364, allocations: 2.556 MB / 0.5648 GB, free: 13.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005547/0.442, allocations: 2.89 MB / 0.5676 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.4541, allocations: 9.185 MB / 0.5766 GB, free: 1.512 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4542, allocations: 0 / 0.5766 GB, free: 1.512 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4542, allocations: 0 / 0.5766 GB, free: 1.512 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003434/0.4545, allocations: 0 / 0.5766 GB, free: 1.512 MB / 430.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.01783/0.4724, allocations: 6.126 MB / 0.5825 GB, free: 11.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.4724, allocations: 8.031 kB / 0.5825 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/0.485, allocations: 2.587 MB / 0.5851 GB, free: 8.707 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/0.4953, allocations: 3.879 MB / 0.5889 GB, free: 4.773 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003537/0.4957, allocations: 300.2 kB / 0.5891 GB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002164/0.4979, allocations: 431.8 kB / 0.5896 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02641/0.5244, allocations: 11.73 MB / 0.601 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000238/0.5246, allocations: 63.44 kB / 0.6011 GB, free: 7.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001343/0.526, allocations: 191.8 kB / 0.6013 GB, free: 7.332 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00392/0.5299, allocations: 2.085 MB / 0.6033 GB, free: 5.238 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02153/0.5515, allocations: 10.09 MB / 0.6131 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06921/0.6207, allocations: 45.75 MB / 0.6578 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01247/0.6332, allocations: 4.374 MB / 0.6621 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003669/0.637, allocations: 2.471 MB / 0.6645 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01932/0.6563, allocations: 9.848 MB / 0.6741 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.6564, allocations: 59.5 kB / 0.6742 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 5.571e-06/0.6564, allocations: 0 / 0.6742 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.05887/0.7153, allocations: 19.96 MB / 0.6937 GB, free: 6.816 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.7154, allocations: 197.2 kB / 0.6939 GB, free: 6.578 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009185/0.7246, allocations: 4.717 MB / 0.6985 GB, free: 1.852 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003516/0.725, allocations: 49.7 kB / 0.6985 GB, free: 1.797 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002845/0.7278, allocations: 3.602 MB / 0.702 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009752/0.7288, allocations: 0.7637 MB / 0.7028 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002515/0.7314, allocations: 1.344 MB / 0.7041 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.7315, allocations: 305.1 kB / 0.7044 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003747/0.7352, allocations: 2.41 MB / 0.7067 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006533/0.7418, allocations: 6.267 MB / 0.7129 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/0.7529, allocations: 9.328 MB / 0.722 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001323/0.7531, allocations: 40 kB / 0.722 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.2869/1.04, allocations: 9.789 MB / 0.7316 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/1.04, allocations: 63.22 kB / 0.7316 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001779/1.04, allocations: 135.7 kB / 0.7318 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004389/1.045, allocations: 1.613 MB / 0.7333 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004816/1.05, allocations: 1.492 MB / 0.7348 GB, free: 176.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/1.063, allocations: 10.26 MB / 0.7448 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005915/1.069, allocations: 369.2 kB / 0.7452 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/1.07, allocations: 395.5 kB / 0.7455 GB, free: 171 MB / 0.5762 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 (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.003871/1.074, allocations: 2.478 MB / 0.748 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007631/1.075, allocations: 406.8 kB / 0.7483 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007089/1.082, allocations: 4.235 MB / 0.7525 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/1.082, allocations: 15.25 kB / 0.7525 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/1.082, allocations: 0 / 0.7525 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009378/1.083, allocations: 456.3 kB / 0.7529 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005203/1.083, allocations: 31.8 kB / 0.753 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/1.085, allocations: 111.9 kB / 0.7531 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003148/1.085, allocations: 145.7 kB / 0.7532 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007272/1.093, allocations: 4.642 MB / 0.7577 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005683/1.098, allocations: 5.725 MB / 0.7633 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00146/1.1, allocations: 1.491 MB / 0.7648 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003299/1.103, allocations: 2.968 MB / 0.7677 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of Backend: time 7.81e-07/1.103, allocations: 0 / 0.7677 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008033/1.111, allocations: 4.879 MB / 0.7724 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01392/1.125, allocations: 11.14 MB / 0.7833 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.07778/1.203, allocations: 53.82 MB / 0.8359 GB, free: 90.61 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/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