Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001608/0.001608, allocations: 194 kB / 18.77 MB, free: 4.742 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.378/1.378, allocations: 222.9 MB / 242.5 MB, free: 13.78 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.2093/0.2093, allocations: 44.18 MB / 336.8 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 59.03 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1362, allocations: 60.84 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3067/0.443, allocations: 72.34 MB / 0.5288 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03804/0.4811, allocations: 14.42 MB / 0.5429 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01871/0.4998, allocations: 316.2 kB / 0.5432 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006643/0.5065, allocations: 3.722 MB / 0.5469 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007869/0.5145, allocations: 2.115 MB / 0.5489 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.5175, allocations: 0.9389 MB / 0.5498 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01648/0.534, allocations: 8.736 MB / 0.5584 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009186/0.5433, allocations: 4.542 MB / 0.5628 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004589/0.5479, allocations: 1.779 MB / 0.5645 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006244/0.5542, allocations: 2.858 MB / 0.5673 GB, free: 228 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001648/0.5559, allocations: 296 kB / 0.5676 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003435/0.5593, allocations: 1.427 MB / 0.569 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002989/0.5624, allocations: 2.412 MB / 0.5714 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004595/0.567, allocations: 2.687 MB / 0.574 GB, free: 9.383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009141/0.5762, allocations: 6.989 MB / 0.5808 GB, free: 2.379 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.709e-06/0.5762, allocations: 4 kB / 0.5808 GB, free: 2.375 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5762, allocations: 0 / 0.5808 GB, free: 2.375 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003177/0.5765, allocations: 0 / 0.5808 GB, free: 2.375 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01447/0.591, allocations: 6.145 MB / 0.5868 GB, free: 12.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.5911, allocations: 12.03 kB / 0.5868 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.6033, allocations: 2.591 MB / 0.5894 GB, free: 9.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008359/0.6117, allocations: 3.773 MB / 0.5931 GB, free: 5.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002498/0.612, allocations: 283.8 kB / 0.5933 GB, free: 5.438 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/0.6133, allocations: 383.7 kB / 0.5937 GB, free: 5.062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02142/0.6347, allocations: 11.99 MB / 0.6054 GB, free: 8.227 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001698/0.6349, allocations: 67.42 kB / 0.6055 GB, free: 8.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005832/0.6355, allocations: 183.8 kB / 0.6056 GB, free: 7.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003901/0.6394, allocations: 2.26 MB / 0.6078 GB, free: 5.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02068/0.6601, allocations: 9.943 MB / 0.6176 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06406/0.7242, allocations: 46.82 MB / 0.6633 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/0.7358, allocations: 3.905 MB / 0.6671 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003396/0.7392, allocations: 2.131 MB / 0.6692 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0123/0.7516, allocations: 5.901 MB / 0.6749 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.378e-05/0.7517, allocations: 47.12 kB / 0.675 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 7.584e-06/0.7517, allocations: 4 kB / 0.675 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.0568/0.8085, allocations: 17.52 MB / 0.6921 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.8087, allocations: 226.2 kB / 0.6923 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01104/0.8197, allocations: 5.676 MB / 0.6978 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004331/0.8202, allocations: 53.98 kB / 0.6979 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003449/0.8237, allocations: 3.794 MB / 0.7016 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.8247, allocations: 0.6677 MB / 0.7023 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003559/0.8283, allocations: 1.416 MB / 0.7036 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.8284, allocations: 301.1 kB / 0.7039 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2468/1.075, allocations: 2.297 MB / 0.7062 GB, free: 189.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00705/1.082, allocations: 6.597 MB / 0.7126 GB, free: 184 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/1.095, allocations: 9.576 MB / 0.722 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000279/1.095, allocations: 43.16 kB / 0.722 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=904) (initialization): time 0.02042/1.116, allocations: 9.635 MB / 0.7314 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001725/1.116, allocations: 74.62 kB / 0.7315 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000214/1.116, allocations: 151.5 kB / 0.7316 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003091/1.119, allocations: 1.235 MB / 0.7328 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004923/1.124, allocations: 1.569 MB / 0.7344 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008416/1.133, allocations: 7.893 MB / 0.7421 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006018/1.139, allocations: 368.5 kB / 0.7424 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/1.14, allocations: 425.7 kB / 0.7428 GB, free: 167.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (842): * Single equations (assignments): 835 * Array equations: 5 * 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,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004615/1.145, allocations: 2.523 MB / 0.7453 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/1.146, allocations: 457.3 kB / 0.7457 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005957/1.152, allocations: 3.392 MB / 0.749 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.843e-05/1.152, allocations: 20 kB / 0.7491 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/1.152, allocations: 4 kB / 0.7491 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/1.152, allocations: 7.781 kB / 0.7491 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/1.166, allocations: 8.321 MB / 0.7572 GB, free: 156.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/1.166, allocations: 288 / 0.7572 GB, free: 156.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/1.168, allocations: 255.6 kB / 0.7574 GB, free: 156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002533/1.17, allocations: 1.002 MB / 0.7584 GB, free: 155 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001922/1.17, allocations: 32 kB / 0.7585 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007117/1.177, allocations: 7.228 MB / 0.7655 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.178, allocations: 0 / 0.7655 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008129/1.186, allocations: 5.867 MB / 0.7712 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/1.187, allocations: 0.5224 MB / 0.7718 GB, free: 141.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/1.188, allocations: 31.94 kB / 0.7718 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002267/1.191, allocations: 91.88 kB / 0.7719 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003485/1.191, allocations: 92.81 kB / 0.772 GB, free: 141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/1.191, allocations: 51.77 kB / 0.772 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006194/1.197, allocations: 3.629 MB / 0.7756 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.51e-07/1.197, allocations: 0 / 0.7756 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007284/1.205, allocations: 1.179 MB / 0.7767 GB, free: 136.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (120): * Single equations (assignments): 115 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006184/1.205, allocations: 159.2 kB / 0.7769 GB, free: 136 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00838/1.214, allocations: 5.565 MB / 0.7823 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.214, allocations: 0 / 0.7823 GB, free: 130.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002216/1.216, allocations: 1.616 MB / 0.7839 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004907/1.221, allocations: 0.5811 MB / 0.7844 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/1.242, allocations: 13.84 MB / 0.798 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004103/1.246, allocations: 3.838 MB / 0.8017 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/1.247, allocations: 343.4 kB / 0.802 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.012e-06/1.247, allocations: 0 / 0.802 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.3533/1.6, allocations: 114.3 MB / 0.9136 GB, free: 171.8 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches