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.001736/0.001736, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002145/0.002145, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2308/0.2308, allocations: 46.12 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002523/0.002523, allocations: 83.84 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3648, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01648/0.3813, allocations: 12.67 MB / 0.543 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.3925, allocations: 4.506 MB / 0.5474 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002956/0.3955, allocations: 84.81 kB / 0.5475 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007864/0.4034, allocations: 3.704 MB / 0.5511 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006739/0.4102, allocations: 2.183 MB / 0.5532 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.4132, allocations: 0.9982 MB / 0.5542 GB, free: 9.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01016/0.4234, allocations: 6.05 MB / 0.5601 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00718/0.4306, allocations: 4.558 MB / 0.5645 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00444/0.4351, allocations: 1.951 MB / 0.5664 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004955/0.4401, allocations: 2.613 MB / 0.569 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001822/0.442, allocations: 408 kB / 0.5694 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004099/0.4461, allocations: 1.439 MB / 0.5708 GB, free: 8.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003863/0.45, allocations: 2.42 MB / 0.5732 GB, free: 5.961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005265/0.4553, allocations: 2.773 MB / 0.5759 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.4688, allocations: 8.786 MB / 0.5844 GB, free: 10.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.4688, allocations: 4 kB / 0.5844 GB, free: 10.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4688, allocations: 0 / 0.5844 GB, free: 10.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003729/0.4692, allocations: 4 kB / 0.5845 GB, free: 10.34 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.01874/0.488, allocations: 6.343 MB / 0.5906 GB, free: 3.918 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.488, allocations: 12.03 kB / 0.5907 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002191/0.4902, allocations: 0.8305 MB / 0.5915 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04029/0.5306, allocations: 6.055 MB / 0.5974 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009773/0.5404, allocations: 4.158 MB / 0.6014 GB, free: 8.785 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003171/0.5408, allocations: 279.3 kB / 0.6017 GB, free: 8.512 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001776/0.5425, allocations: 383.8 kB / 0.6021 GB, free: 8.137 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02397/0.5665, allocations: 11.48 MB / 0.6133 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002213/0.5668, allocations: 55.58 kB / 0.6133 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001197/0.568, allocations: 179.8 kB / 0.6135 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003951/0.572, allocations: 2.147 MB / 0.6156 GB, free: 9.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01939/0.5914, allocations: 9.371 MB / 0.6248 GB, free: 44 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0612/0.6527, allocations: 45.36 MB / 0.6691 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/0.6634, allocations: 3.794 MB / 0.6728 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003078/0.6665, allocations: 2.018 MB / 0.6747 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01137/0.6779, allocations: 5.65 MB / 0.6802 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.068e-05/0.678, allocations: 52.05 kB / 0.6803 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.979e-06/0.678, allocations: 0 / 0.6803 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04313/0.7212, allocations: 15.94 MB / 0.6959 GB, free: 5.512 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.7214, allocations: 226.2 kB / 0.6961 GB, free: 5.238 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009822/0.7312, allocations: 5.64 MB / 0.7016 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003881/0.7316, allocations: 49.7 kB / 0.7016 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003798/0.7355, allocations: 3.905 MB / 0.7054 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/0.7365, allocations: 0.6786 MB / 0.7061 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002235/0.7388, allocations: 1.345 MB / 0.7074 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.7389, allocations: 301.1 kB / 0.7077 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003469/0.7424, allocations: 2.078 MB / 0.7097 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2894/1.032, allocations: 6.305 MB / 0.7159 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.042, allocations: 9.136 MB / 0.7248 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002128/1.042, allocations: 42.44 kB / 0.7249 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01841/1.061, allocations: 8.632 MB / 0.7333 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001605/1.061, allocations: 70.84 kB / 0.7334 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002701/1.061, allocations: 153.2 kB / 0.7335 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001809/1.063, allocations: 0.7203 MB / 0.7342 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004918/1.068, allocations: 1.5 MB / 0.7357 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006914/1.075, allocations: 6.969 MB / 0.7425 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005779/1.081, allocations: 339.1 kB / 0.7428 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/1.082, allocations: 423.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.004626/1.087, allocations: 2.454 MB / 0.7456 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/1.088, allocations: 485 kB / 0.7461 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/1.092, allocations: 2.66 MB / 0.7487 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.573e-05/1.092, allocations: 16 kB / 0.7487 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/1.092, allocations: 8 kB / 0.7487 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/1.092, allocations: 6.609 kB / 0.7487 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/1.104, allocations: 7.467 MB / 0.756 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/1.104, allocations: 288 / 0.756 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/1.105, allocations: 259.6 kB / 0.7562 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/1.107, allocations: 0.492 MB / 0.7567 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/1.107, allocations: 37.67 kB / 0.7567 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005185/1.112, allocations: 6.283 MB / 0.7629 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.112, allocations: 4 kB / 0.7629 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005512/1.117, allocations: 4.968 MB / 0.7677 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/1.119, allocations: 0.5398 MB / 0.7683 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006145/1.119, allocations: 28 kB / 0.7683 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/1.121, allocations: 75.91 kB / 0.7684 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/1.121, allocations: 96.75 kB / 0.7684 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/1.121, allocations: 50.52 kB / 0.7685 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004641/1.126, allocations: 3.61 MB / 0.772 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/1.126, allocations: 0 / 0.772 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005479/1.131, allocations: 1.087 MB / 0.7731 GB, free: 114 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.005944/1.137, allocations: 5.613 MB / 0.7786 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007181/1.145, allocations: 5.171 MB / 0.7836 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.717e-05/1.145, allocations: 0 / 0.7836 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/1.146, 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.003623/1.15, allocations: 0.6329 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.06316/1.213, allocations: 53.99 MB / 0.8384 GB, free: 40.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003361/1.217, allocations: 3.769 MB / 0.8421 GB, free: 36.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003892/1.221, allocations: 2.113 MB / 0.8442 GB, free: 34.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002449/1.223, allocations: 2.303 MB / 0.8464 GB, free: 32.18 MB / 0.5606 GB Notification: Performance of SimCode: time 1.432e-06/1.223, allocations: 4 kB / 0.8464 GB, free: 32.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.147/1.37, allocations: 84.13 MB / 0.9286 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.82/31.19, allocations: 4 kB / 0.9286 GB, free: 12.49 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