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.001614/0.001614, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001635/0.001635, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2449/0.2449, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 75.59 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1302, allocations: 62.45 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01528/0.1455, allocations: 12.67 MB / 492.8 MB, free: 8.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.1557, allocations: 4.492 MB / 497.3 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002649/0.1584, allocations: 87.75 kB / 497.4 MB, free: 3.875 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007517/0.166, allocations: 3.707 MB / 0.4893 GB, free: 160 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006679/0.1727, allocations: 2.183 MB / 0.4915 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.1756, allocations: 0.9943 MB / 0.4924 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009259/0.1849, allocations: 6.046 MB / 0.4983 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007705/0.1927, allocations: 4.561 MB / 0.5028 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004322/0.197, allocations: 1.959 MB / 0.5047 GB, free: 324 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2621/0.4592, allocations: 2.602 MB / 0.5073 GB, free: 17.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002363/0.4616, allocations: 407.9 kB / 0.5076 GB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005581/0.4672, allocations: 1.438 MB / 0.509 GB, free: 17.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005523/0.4728, allocations: 2.421 MB / 0.5114 GB, free: 17.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008517/0.4813, allocations: 2.774 MB / 0.5141 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01665/0.498, allocations: 8.502 MB / 0.5224 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.4981, allocations: 0 / 0.5224 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4981, allocations: 0 / 0.5224 GB, free: 15.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000367/0.4985, allocations: 0 / 0.5224 GB, free: 15.02 MB / 382.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.0216/0.5201, allocations: 6.21 MB / 0.5285 GB, free: 11.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.5202, allocations: 8.438 kB / 0.5285 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002592/0.5228, allocations: 0.8203 MB / 0.5293 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03803/0.5608, allocations: 6.023 MB / 0.5352 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009492/0.5703, allocations: 4.06 MB / 0.5391 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.5705, allocations: 286.1 kB / 0.5394 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/0.5716, allocations: 380.9 kB / 0.5398 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/0.5927, allocations: 11.48 MB / 0.551 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001905/0.593, allocations: 57.69 kB / 0.551 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005379/0.5935, allocations: 177.8 kB / 0.5512 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003662/0.5972, allocations: 2.15 MB / 0.5533 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02014/0.6174, allocations: 9.367 MB / 0.5625 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05947/0.6769, allocations: 45.46 MB / 0.6069 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.687, allocations: 3.799 MB / 0.6106 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002536/0.6896, allocations: 2.006 MB / 0.6125 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009641/0.6992, allocations: 5.634 MB / 0.618 GB, free: 6.836 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.6993, allocations: 54.34 kB / 0.6181 GB, free: 6.777 MB / 462.1 MB Notification: Performance of pre-optimization done (n=150): time 6.101e-06/0.6993, allocations: 0 / 0.6181 GB, free: 6.777 MB / 462.1 MB Notification: Performance of matching and sorting (n=162): time 0.04763/0.747, allocations: 15.58 MB / 0.6333 GB, free: 7.023 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/0.7472, allocations: 229.5 kB / 0.6335 GB, free: 6.754 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008957/0.7562, allocations: 5.627 MB / 0.639 GB, free: 1.152 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003954/0.7566, allocations: 49.7 kB / 0.6391 GB, free: 1.098 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002779/0.7594, allocations: 3.767 MB / 0.6427 GB, free: 13.33 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000927/0.7603, allocations: 0.6529 MB / 0.6434 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001862/0.7622, allocations: 1.34 MB / 0.6447 GB, free: 11.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.7623, allocations: 301.1 kB / 0.645 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003153/0.7654, allocations: 2.074 MB / 0.647 GB, free: 8.957 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006113/0.7716, allocations: 6.314 MB / 0.6532 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/0.7824, allocations: 9.131 MB / 0.6621 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001495/0.7826, allocations: 40 kB / 0.6621 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.02104/0.8037, allocations: 8.598 MB / 0.6705 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.8039, allocations: 72.22 kB / 0.6706 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002616/0.8042, allocations: 155.9 kB / 0.6707 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002804/0.807, allocations: 0.7207 MB / 0.6714 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008347/0.8153, allocations: 1.505 MB / 0.6729 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.8262, allocations: 6.976 MB / 0.6797 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006543/0.8328, allocations: 339.5 kB / 0.68 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001507/0.8343, allocations: 412 kB / 0.6804 GB, free: 2.961 MB / 0.5137 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.006716/0.841, allocations: 2.455 MB / 0.6828 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/0.8426, allocations: 461.9 kB / 0.6833 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006456/0.8491, allocations: 2.651 MB / 0.6859 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-05/0.8491, allocations: 20 kB / 0.6859 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/0.8492, allocations: 4 kB / 0.6859 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.709e-05/0.8492, allocations: 11.97 kB / 0.6859 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0199/0.8691, allocations: 7.488 MB / 0.6932 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.75e-05/0.8692, allocations: 4 kB / 0.6932 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.8706, allocations: 251.6 kB / 0.6934 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001654/0.8723, allocations: 0.5053 MB / 0.6939 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002445/0.8725, allocations: 28 kB / 0.694 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008149/0.8807, allocations: 6.287 MB / 0.7001 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.8807, allocations: 7.938 kB / 0.7001 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008588/0.8893, allocations: 4.942 MB / 0.7049 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002818/0.8922, allocations: 0.5185 MB / 0.7054 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001947/0.8942, allocations: 31.94 kB / 0.7055 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003092/0.8973, allocations: 79.91 kB / 0.7056 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004147/0.8977, allocations: 92.81 kB / 0.7056 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/0.8979, allocations: 42.19 kB / 0.7057 GB, free: 8.652 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00965/0.9076, allocations: 3.617 MB / 0.7092 GB, free: 5.059 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9076, allocations: 0 / 0.7092 GB, free: 5.059 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007114/0.9147, allocations: 1.086 MB / 0.7103 GB, free: 3.973 MB / 0.545 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.2376/1.152, allocations: 5.578 MB / 0.7157 GB, free: 191 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.163, allocations: 5.528 MB / 0.7211 GB, free: 190.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.163, allocations: 5.25 kB / 0.7211 GB, free: 190.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002144/1.165, allocations: 1.494 MB / 0.7226 GB, free: 189.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/1.169, allocations: 0.6309 MB / 0.7232 GB, free: 189.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09639/1.265, allocations: 65.46 MB / 0.7871 GB, free: 131.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004443/1.27, allocations: 3.773 MB / 0.7908 GB, free: 127.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005366/1.275, allocations: 2.117 MB / 0.7929 GB, free: 125.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003021/1.278, allocations: 2.303 MB / 0.7951 GB, free: 123.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.322e-06/1.278, allocations: 1.859 kB / 0.7951 GB, free: 123.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1316/1.41, allocations: 88.73 MB / 0.8818 GB, free: 35 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.55, allocations: 0 / 0.8818 GB, free: 35 MB / 0.545 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