Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001161/0.001161, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9384/0.9384, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2523/0.2523, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.838e-05, allocations: 5.094 kB / 442.2 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.1952/0.1952, allocations: 11.11 MB / 453.3 MB, free: 37.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005126/0.2004, allocations: 4.3 MB / 457.6 MB, free: 35.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009997/0.2014, allocations: 99.62 kB / 457.7 MB, free: 35.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002957/0.2043, allocations: 3.802 MB / 461.5 MB, free: 33.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002785/0.2071, allocations: 2.313 MB / 463.8 MB, free: 32.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.2084, allocations: 1.102 MB / 464.9 MB, free: 32.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004324/0.2127, allocations: 6.795 MB / 471.7 MB, free: 29.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003334/0.2161, allocations: 4.024 MB / 475.7 MB, free: 27.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.2191, allocations: 2.993 MB / 478.7 MB, free: 26.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/0.2213, allocations: 2.882 MB / 481.6 MB, free: 25.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000614/0.2219, allocations: 418.9 kB / 482 MB, free: 25.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.2239, allocations: 1.393 MB / 483.4 MB, free: 25.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001936/0.2259, allocations: 2.619 MB / 486 MB, free: 24.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001426/0.2273, allocations: 1.641 MB / 487.6 MB, free: 23.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009891/0.2372, allocations: 8.886 MB / 496.5 MB, free: 20.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2372, allocations: 4 kB / 496.5 MB, free: 20.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2372, allocations: 0 / 496.5 MB, free: 20.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002845/0.2375, allocations: 0 / 496.5 MB, free: 20.3 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01195/0.2494, allocations: 6.362 MB / 0.4911 GB, free: 15.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.2495, allocations: 8.844 kB / 0.4911 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009535/0.2504, allocations: 0.8221 MB / 0.4919 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01931/0.2697, allocations: 6.464 MB / 0.4982 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005843/0.2756, allocations: 3.748 MB / 0.5019 GB, free: 8.871 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-05/0.2757, allocations: 279.5 kB / 0.5022 GB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004163/0.2761, allocations: 381.2 kB / 0.5025 GB, free: 8.227 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/0.2893, allocations: 11.55 MB / 0.5138 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.603e-05/0.2894, allocations: 63.47 kB / 0.5139 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003437/0.2897, allocations: 183.8 kB / 0.514 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002152/0.2919, allocations: 2.143 MB / 0.5161 GB, free: 9.422 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/0.3032, allocations: 9.356 MB / 0.5253 GB, free: 60 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03593/0.3392, allocations: 43.98 MB / 0.5682 GB, free: 2.828 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005544/0.3447, allocations: 3.363 MB / 0.5715 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.3464, allocations: 1.87 MB / 0.5733 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00587/0.3523, allocations: 5.247 MB / 0.5785 GB, free: 8.258 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.3523, allocations: 52.86 kB / 0.5785 GB, free: 8.199 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 3.267e-06/0.3523, allocations: 0 / 0.5785 GB, free: 8.199 MB / 490.7 MB Notification: Performance of matching and sorting (n=162): time 0.02486/0.3772, allocations: 16.39 MB / 0.5945 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.3773, allocations: 226.3 kB / 0.5947 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00586/0.3831, allocations: 6.25 MB / 0.6008 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.031e-05/0.3832, allocations: 49.98 kB / 0.6009 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001889/0.3851, allocations: 3.87 MB / 0.6047 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004758/0.3856, allocations: 0.6669 MB / 0.6053 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/0.3868, allocations: 1.334 MB / 0.6066 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.957e-05/0.3869, allocations: 305.1 kB / 0.6069 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/0.389, allocations: 2.074 MB / 0.6089 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004462/0.3935, allocations: 6.368 MB / 0.6151 GB, free: 352 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006954/0.4005, allocations: 9.128 MB / 0.6241 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.405e-05/0.4005, allocations: 44 kB / 0.6241 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.2221/0.6226, allocations: 8.603 MB / 0.6325 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.056e-05/0.6227, allocations: 68.84 kB / 0.6326 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.905e-05/0.6227, allocations: 152.5 kB / 0.6327 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.6239, allocations: 0.7236 MB / 0.6334 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/0.6267, allocations: 1.5 MB / 0.6349 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004734/0.6314, allocations: 6.808 MB / 0.6415 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/0.635, allocations: 399.8 kB / 0.6419 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003108/0.6353, allocations: 414.5 kB / 0.6423 GB, free: 141.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.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 (798): * Single equations (assignments): 791 * 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%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002781/0.6381, allocations: 2.465 MB / 0.6447 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004508/0.6386, allocations: 487.8 kB / 0.6452 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.641, allocations: 2.644 MB / 0.6478 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.641, allocations: 20.34 kB / 0.6478 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.641, allocations: 6.719 kB / 0.6478 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.641, allocations: 6.422 kB / 0.6478 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00897/0.65, allocations: 7.237 MB / 0.6549 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.65, allocations: 3.125 kB / 0.6549 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006052/0.6506, allocations: 258.5 kB / 0.6551 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007545/0.6514, allocations: 0.5002 MB / 0.6556 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.761e-05/0.6515, allocations: 34.7 kB / 0.6556 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00458/0.656, allocations: 6.126 MB / 0.6616 GB, free: 133 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.656, allocations: 3.844 kB / 0.6616 GB, free: 133 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004832/0.6609, allocations: 4.957 MB / 0.6665 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.662, allocations: 0.5264 MB / 0.667 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/0.6623, allocations: 34.78 kB / 0.667 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009777/0.6632, allocations: 132.3 kB / 0.6671 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.6634, allocations: 108.3 kB / 0.6672 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-05/0.6635, allocations: 45.12 kB / 0.6673 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005012/0.6685, allocations: 3.89 MB / 0.6711 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.62e-07/0.6685, allocations: 0 / 0.6711 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00475/0.6732, allocations: 1.271 MB / 0.6723 GB, free: 129.5 MB / 0.5261 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.005006/0.6782, allocations: 5.608 MB / 0.6778 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0051/0.6833, allocations: 4.98 MB / 0.6827 GB, free: 125 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6834, allocations: 0.8125 kB / 0.6827 GB, free: 125 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.6844, allocations: 1.406 MB / 0.684 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/0.6866, allocations: 0.6415 MB / 0.6847 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04849/0.7351, allocations: 55.08 MB / 0.7384 GB, free: 70 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002202/0.7373, allocations: 3.243 MB / 0.7416 GB, free: 66.72 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002555/0.7398, allocations: 2.13 MB / 0.7437 GB, free: 64.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/0.7414, allocations: 2.32 MB / 0.746 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/0.7414, allocations: 0 / 0.746 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08827/0.8296, allocations: 87.81 MB / 0.8317 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.67, allocations: 8.062 kB / 0.8317 GB, free: 7.242 MB / 0.5573 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.097182243131101]