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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001398/0.001398, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001716/0.001716, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 75.88 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3527, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01632/0.3691, allocations: 12.67 MB / 0.543 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.3804, allocations: 4.499 MB / 0.5474 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003113/0.3836, allocations: 86 kB / 0.5475 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007935/0.3916, allocations: 3.714 MB / 0.5511 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007399/0.3991, allocations: 2.175 MB / 0.5532 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00297/0.4021, allocations: 1.006 MB / 0.5542 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01083/0.4129, allocations: 6.038 MB / 0.5601 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007333/0.4203, allocations: 4.558 MB / 0.5646 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004425/0.4248, allocations: 1.947 MB / 0.5665 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005039/0.4299, allocations: 2.617 MB / 0.569 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001866/0.4318, allocations: 408 kB / 0.5694 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004247/0.4361, allocations: 1.443 MB / 0.5708 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003763/0.4399, allocations: 2.412 MB / 0.5732 GB, free: 5.953 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00584/0.4458, allocations: 2.773 MB / 0.5759 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.4605, allocations: 8.798 MB / 0.5845 GB, free: 10.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4605, allocations: 0 / 0.5845 GB, free: 10.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.4605, allocations: 4 kB / 0.5845 GB, free: 10.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003853/0.4609, allocations: 0 / 0.5845 GB, free: 10.33 MB / 446.1 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.01922/0.4802, allocations: 6.343 MB / 0.5907 GB, free: 3.902 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/0.4803, allocations: 16.03 kB / 0.5907 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00309/0.4833, allocations: 0.8228 MB / 0.5915 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04195/0.5253, allocations: 6.055 MB / 0.5974 GB, free: 12.99 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0122/0.5376, allocations: 4.155 MB / 0.6015 GB, free: 8.781 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/0.538, allocations: 283.3 kB / 0.6017 GB, free: 8.504 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00161/0.5396, allocations: 383.7 kB / 0.6021 GB, free: 8.129 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02532/0.5649, allocations: 11.48 MB / 0.6133 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002614/0.5652, allocations: 55.56 kB / 0.6134 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001274/0.5665, allocations: 183.8 kB / 0.6135 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004279/0.5708, allocations: 2.143 MB / 0.6156 GB, free: 9.418 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02122/0.5921, allocations: 9.379 MB / 0.6248 GB, free: 24 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06604/0.6582, allocations: 45.35 MB / 0.6691 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.6692, allocations: 3.796 MB / 0.6728 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003144/0.6724, allocations: 2.02 MB / 0.6748 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/0.6841, allocations: 5.661 MB / 0.6803 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.117e-05/0.6842, allocations: 52.05 kB / 0.6803 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.899e-06/0.6842, allocations: 0 / 0.6803 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04907/0.7333, allocations: 15.93 MB / 0.6959 GB, free: 5.496 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.7335, allocations: 230.1 kB / 0.6961 GB, free: 5.219 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01171/0.7452, allocations: 5.632 MB / 0.7016 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004259/0.7457, allocations: 53.61 kB / 0.7017 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004322/0.7501, allocations: 3.905 MB / 0.7055 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001152/0.7513, allocations: 0.6786 MB / 0.7061 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003262/0.7545, allocations: 1.341 MB / 0.7074 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.7547, allocations: 309.1 kB / 0.7077 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004089/0.7588, allocations: 2.07 MB / 0.7098 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3/1.059, allocations: 6.309 MB / 0.7159 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/1.069, allocations: 9.136 MB / 0.7248 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000213/1.07, allocations: 43.22 kB / 0.7249 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01658/1.086, allocations: 8.631 MB / 0.7333 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.086, allocations: 73.56 kB / 0.7334 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001797/1.087, allocations: 153.1 kB / 0.7335 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/1.088, allocations: 0.7183 MB / 0.7342 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00428/1.093, allocations: 1.504 MB / 0.7357 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006479/1.099, allocations: 6.976 MB / 0.7425 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005104/1.104, allocations: 339 kB / 0.7428 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009893/1.105, allocations: 414.5 kB / 0.7432 GB, free: 142.3 MB / 0.5606 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.004109/1.109, allocations: 2.461 MB / 0.7456 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009053/1.11, allocations: 483 kB / 0.7461 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004374/1.115, allocations: 2.66 MB / 0.7487 GB, free: 139 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-05/1.115, allocations: 16 kB / 0.7487 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/1.115, allocations: 8 kB / 0.7487 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.182e-05/1.115, allocations: 6.516 kB / 0.7487 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/1.128, allocations: 7.465 MB / 0.756 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/1.128, allocations: 3.984 kB / 0.756 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/1.129, allocations: 255.9 kB / 0.7563 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/1.131, allocations: 0.4998 MB / 0.7567 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/1.131, allocations: 28 kB / 0.7568 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00554/1.137, allocations: 6.288 MB / 0.7629 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.137, allocations: 4 kB / 0.7629 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006079/1.143, allocations: 4.964 MB / 0.7678 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/1.144, allocations: 0.5397 MB / 0.7683 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/1.145, allocations: 24 kB / 0.7683 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/1.147, allocations: 79.58 kB / 0.7684 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003478/1.148, allocations: 100.8 kB / 0.7685 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/1.148, allocations: 46.52 kB / 0.7685 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005589/1.153, allocations: 3.613 MB / 0.7721 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.61e-07/1.153, allocations: 0 / 0.7721 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005965/1.159, allocations: 1.083 MB / 0.7731 GB, free: 114.1 MB / 0.5606 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.006771/1.166, allocations: 5.61 MB / 0.7786 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007735/1.174, allocations: 5.171 MB / 0.7836 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/1.174, allocations: 0 / 0.7836 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001926/1.176, allocations: 1.491 MB / 0.7851 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004718/1.181, allocations: 0.6335 MB / 0.7857 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07555/1.256, allocations: 53.99 MB / 0.8384 GB, free: 40.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005782/1.262, allocations: 3.773 MB / 0.8421 GB, free: 36.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004979/1.267, allocations: 2.117 MB / 0.8442 GB, free: 34.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003608/1.271, allocations: 2.311 MB / 0.8465 GB, free: 32.17 MB / 0.5606 GB Notification: Performance of SimCode: time 1.383e-06/1.271, allocations: 4 kB / 0.8465 GB, free: 32.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1529/1.424, allocations: 84.12 MB / 0.9286 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.93/31.35, allocations: 4 kB / 0.9286 GB, free: 12.5 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches