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.001152/0.001152, allocations: 116.1 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, allocations: 200.7 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.365/1.365, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 71.89 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.331, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01383/0.3449, allocations: 12.67 MB / 0.5429 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.3557, allocations: 4.498 MB / 0.5473 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003679/0.3594, allocations: 85.19 kB / 0.5474 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00734/0.3668, allocations: 3.708 MB / 0.551 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006831/0.3737, allocations: 2.245 MB / 0.5532 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.3763, allocations: 0.9982 MB / 0.5542 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008471/0.3847, allocations: 6.045 MB / 0.5601 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005387/0.3902, allocations: 4.556 MB / 0.5645 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003467/0.3937, allocations: 1.959 MB / 0.5664 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00385/0.3976, allocations: 2.617 MB / 0.569 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001131/0.3987, allocations: 408 kB / 0.5694 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/0.4017, allocations: 1.44 MB / 0.5708 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002815/0.4046, allocations: 2.443 MB / 0.5732 GB, free: 5.918 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004021/0.4086, allocations: 2.773 MB / 0.5759 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01229/0.4209, allocations: 8.786 MB / 0.5845 GB, free: 10.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.421, allocations: 4 kB / 0.5845 GB, free: 10.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.421, allocations: 0 / 0.5845 GB, free: 10.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003387/0.4213, allocations: 0 / 0.5845 GB, free: 10.3 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.01619/0.4375, allocations: 6.347 MB / 0.5907 GB, free: 3.875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.4376, allocations: 12.03 kB / 0.5907 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001838/0.4395, allocations: 0.8267 MB / 0.5915 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03909/0.4786, allocations: 6.059 MB / 0.5974 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.489, allocations: 4.158 MB / 0.6014 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/0.4893, allocations: 279.3 kB / 0.6017 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/0.4906, allocations: 379.7 kB / 0.6021 GB, free: 8.098 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/0.5106, allocations: 11.48 MB / 0.6133 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/0.5109, allocations: 55.52 kB / 0.6133 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006313/0.5115, allocations: 183.8 kB / 0.6135 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003481/0.515, allocations: 2.147 MB / 0.6156 GB, free: 9.379 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01941/0.5344, allocations: 9.368 MB / 0.6248 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05988/0.5944, allocations: 45.37 MB / 0.6691 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009963/0.6044, allocations: 3.784 MB / 0.6728 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002557/0.607, allocations: 2.018 MB / 0.6747 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01001/0.617, allocations: 5.654 MB / 0.6803 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.6171, allocations: 48.11 kB / 0.6803 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 6.633e-06/0.6171, allocations: 0 / 0.6803 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04126/0.6584, allocations: 15.93 MB / 0.6959 GB, free: 5.477 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.6585, allocations: 226.2 kB / 0.6961 GB, free: 5.203 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007631/0.6662, allocations: 5.636 MB / 0.7016 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003362/0.6666, allocations: 45.7 kB / 0.7016 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002549/0.6691, allocations: 3.909 MB / 0.7054 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007752/0.6699, allocations: 0.6786 MB / 0.7061 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001685/0.6716, allocations: 1.345 MB / 0.7074 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.176e-05/0.6717, allocations: 305.1 kB / 0.7077 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002896/0.6746, allocations: 2.074 MB / 0.7097 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2837/0.9584, allocations: 6.308 MB / 0.7159 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009491/0.9679, allocations: 9.141 MB / 0.7248 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001843/0.9681, allocations: 44.03 kB / 0.7249 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01488/0.983, allocations: 8.621 MB / 0.7333 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.9832, allocations: 72.16 kB / 0.7333 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001806/0.9834, allocations: 155.1 kB / 0.7335 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.985, allocations: 0.72 MB / 0.7342 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004263/0.9892, allocations: 1.507 MB / 0.7357 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00675/0.996, allocations: 6.975 MB / 0.7425 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005361/1.001, allocations: 339.8 kB / 0.7428 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009927/1.002, allocations: 408.9 kB / 0.7432 GB, free: 142.4 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.004041/1.006, allocations: 2.464 MB / 0.7456 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009353/1.007, allocations: 486.1 kB / 0.7461 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004021/1.011, allocations: 2.657 MB / 0.7487 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/1.012, allocations: 20 kB / 0.7487 GB, free: 139 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1.012, allocations: 8 kB / 0.7487 GB, free: 139 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/1.012, allocations: 10.56 kB / 0.7487 GB, free: 139 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/1.023, allocations: 7.46 MB / 0.756 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.024, allocations: 8.062 kB / 0.756 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/1.025, allocations: 251.6 kB / 0.7562 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/1.026, allocations: 0.5031 MB / 0.7567 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/1.026, allocations: 24 kB / 0.7567 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005298/1.031, allocations: 6.288 MB / 0.7629 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.032, allocations: 7.938 kB / 0.7629 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005798/1.037, allocations: 4.971 MB / 0.7677 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/1.039, allocations: 0.5338 MB / 0.7683 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006241/1.039, allocations: 36 kB / 0.7683 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/1.041, allocations: 75.91 kB / 0.7684 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002389/1.041, allocations: 96.75 kB / 0.7685 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.845e-05/1.041, allocations: 40 kB / 0.7685 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004843/1.046, allocations: 3.613 MB / 0.772 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.41e-07/1.046, allocations: 0 / 0.772 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005648/1.052, allocations: 1.094 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.005765/1.058, allocations: 5.613 MB / 0.7786 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006963/1.065, allocations: 5.17 MB / 0.7836 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.065, allocations: 4 kB / 0.7836 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/1.066, allocations: 1.483 MB / 0.7851 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003911/1.07, allocations: 0.6288 MB / 0.7857 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06878/1.139, allocations: 53.98 MB / 0.8384 GB, free: 40.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003307/1.142, allocations: 3.773 MB / 0.8421 GB, free: 36.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003982/1.146, allocations: 2.121 MB / 0.8442 GB, free: 34.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002581/1.149, allocations: 2.307 MB / 0.8464 GB, free: 32.27 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/1.149, allocations: 0 / 0.8464 GB, free: 32.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1374/1.286, allocations: 84.13 MB / 0.9286 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.04/30.32, allocations: 4 kB / 0.9286 GB, free: 12.59 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 & 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.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.csv","/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