Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.0008804/0.0008804, 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.001001/0.001001, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.8827/0.8827, allocations: 177 MB / 204.1 MB, free: 5.738 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.2436/0.2436, allocations: 34.24 MB / 294.8 MB, free: 0.6875 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.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.381e-05, allocations: 5.234 kB / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.1971/0.1971, allocations: 11.08 MB / 453.2 MB, free: 37.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005508/0.2026, allocations: 4.29 MB / 457.5 MB, free: 35.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008988/0.2035, allocations: 99.38 kB / 457.6 MB, free: 35.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002868/0.2064, allocations: 3.802 MB / 461.4 MB, free: 33.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002609/0.209, allocations: 2.315 MB / 463.7 MB, free: 32.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.2101, allocations: 1.103 MB / 464.9 MB, free: 31.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003597/0.2137, allocations: 6.785 MB / 471.6 MB, free: 29.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.2159, allocations: 4.013 MB / 475.6 MB, free: 27.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.2177, allocations: 2.983 MB / 478.6 MB, free: 26.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.2195, allocations: 2.88 MB / 481.5 MB, free: 25.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004282/0.22, allocations: 422.7 kB / 481.9 MB, free: 25.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.2216, allocations: 1.396 MB / 483.3 MB, free: 25.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001782/0.2233, allocations: 2.621 MB / 485.9 MB, free: 24.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.2246, allocations: 1.632 MB / 487.6 MB, free: 23.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008093/0.2327, allocations: 8.872 MB / 496.4 MB, free: 20.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2327, allocations: 0 / 496.4 MB, free: 20.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2327, allocations: 0 / 496.4 MB, free: 20.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001066/0.2328, allocations: 0 / 496.4 MB, free: 20.24 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.007841/0.2406, allocations: 6.346 MB / 0.491 GB, free: 15.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.2407, allocations: 10.06 kB / 0.491 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006654/0.2413, allocations: 0.8243 MB / 0.4918 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01873/0.2601, allocations: 6.471 MB / 0.4981 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005131/0.2652, allocations: 3.734 MB / 0.5018 GB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.2653, allocations: 276.7 kB / 0.5021 GB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004416/0.2657, allocations: 376.2 kB / 0.5024 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.2764, allocations: 11.53 MB / 0.5137 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.895e-05/0.2765, allocations: 63.41 kB / 0.5137 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003287/0.2768, allocations: 183.8 kB / 0.5139 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001998/0.2788, allocations: 2.143 MB / 0.516 GB, free: 9.418 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.2895, allocations: 9.349 MB / 0.5251 GB, free: 60 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03358/0.3231, allocations: 43.9 MB / 0.568 GB, free: 2.914 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005526/0.3286, allocations: 3.379 MB / 0.5713 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001536/0.3301, allocations: 1.879 MB / 0.5731 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006031/0.3362, allocations: 5.847 MB / 0.5788 GB, free: 7.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.3362, allocations: 47.56 kB / 0.5789 GB, free: 7.676 MB / 490.7 MB Notification: Performance of pre-optimization done (n=154): time 3.616e-06/0.3362, allocations: 0 / 0.5789 GB, free: 7.676 MB / 490.7 MB Notification: Performance of matching and sorting (n=166): time 0.02524/0.3614, allocations: 15.54 MB / 0.5941 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.3615, allocations: 196.9 kB / 0.5943 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007087/0.3686, allocations: 6.238 MB / 0.6004 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.3687, allocations: 49.7 kB / 0.6004 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001994/0.3707, allocations: 3.839 MB / 0.6041 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005232/0.3712, allocations: 0.6863 MB / 0.6048 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.3725, allocations: 1.334 MB / 0.6061 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.802e-05/0.3726, allocations: 301.1 kB / 0.6064 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.3747, allocations: 2.098 MB / 0.6085 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004216/0.3789, allocations: 6.392 MB / 0.6147 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007074/0.3859, allocations: 9.193 MB / 0.6237 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-05/0.386, allocations: 48 kB / 0.6237 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.2074/0.5934, allocations: 8.651 MB / 0.6322 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/0.5935, allocations: 71.28 kB / 0.6322 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/0.5936, allocations: 151.5 kB / 0.6324 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.5947, allocations: 0.7068 MB / 0.6331 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/0.5974, allocations: 1.511 MB / 0.6346 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004551/0.602, allocations: 6.658 MB / 0.6411 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004172/0.6062, allocations: 406.1 kB / 0.6414 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004157/0.6066, allocations: 416.5 kB / 0.6418 GB, free: 142.1 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 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (804): * Single equations (assignments): 797 * 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,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003418/0.61, allocations: 2.457 MB / 0.6442 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005674/0.6106, allocations: 490.5 kB / 0.6447 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/0.6131, allocations: 2.681 MB / 0.6473 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.6131, allocations: 19.12 kB / 0.6473 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.6132, allocations: 3.125 kB / 0.6473 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.6132, allocations: 6.75 kB / 0.6473 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007154/0.6203, allocations: 7.22 MB / 0.6544 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.6203, allocations: 2.906 kB / 0.6544 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/0.621, allocations: 295.2 kB / 0.6547 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006802/0.6217, allocations: 494.1 kB / 0.6552 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.564e-05/0.6217, allocations: 32.64 kB / 0.6552 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003721/0.6255, allocations: 6.05 MB / 0.6611 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6255, allocations: 7.344 kB / 0.6611 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00426/0.6297, allocations: 4.971 MB / 0.666 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007504/0.6305, allocations: 0.525 MB / 0.6665 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.6308, allocations: 29.09 kB / 0.6665 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009309/0.6317, allocations: 131.7 kB / 0.6666 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.6319, allocations: 109.2 kB / 0.6667 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/0.632, allocations: 45.72 kB / 0.6668 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004097/0.6361, allocations: 3.884 MB / 0.6706 GB, free: 130 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.6361, allocations: 0 / 0.6706 GB, free: 130 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003869/0.6399, allocations: 1.276 MB / 0.6718 GB, free: 129.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (126): * Single equations (assignments): 121 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004695/0.6446, allocations: 5.634 MB / 0.6773 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005034/0.6496, allocations: 4.998 MB / 0.6822 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.6497, allocations: 3.812 kB / 0.6822 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.6507, allocations: 1.392 MB / 0.6836 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.6529, allocations: 0.6477 MB / 0.6842 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04715/0.7, allocations: 55.1 MB / 0.738 GB, free: 70.37 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/0.7024, allocations: 3.245 MB / 0.7412 GB, free: 67.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002809/0.7052, allocations: 2.151 MB / 0.7433 GB, free: 64.94 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/0.7067, allocations: 2.32 MB / 0.7455 GB, free: 62.62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.834e-06/0.7067, allocations: 0 / 0.7455 GB, free: 62.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08692/0.7937, allocations: 88.63 MB / 0.8321 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.49, allocations: 7.984 kB / 0.8321 GB, free: 6.727 MB / 0.5573 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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: 14.234666626900434]