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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 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.001721/0.001721, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 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 1.454/1.454, allocations: 230.5 MB / 254 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] 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.23/0.23, allocations: 46.92 MB / 357 MB, free: 10.2 MB / 286.1 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002513/0.002513, allocations: 71.88 kB / 0.491 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1209, allocations: 66.05 MB / 0.5555 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01562/0.1365, allocations: 12.73 MB / 0.5679 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.1471, allocations: 4.524 MB / 0.5723 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002401/0.1495, allocations: 103.5 kB / 0.5724 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00778/0.1573, allocations: 3.757 MB / 0.5761 GB, free: 336 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006362/0.1637, allocations: 2.236 MB / 0.5783 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002856/0.1665, allocations: 0.9943 MB / 0.5792 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01016/0.1767, allocations: 6.055 MB / 0.5852 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006438/0.1831, allocations: 3.812 MB / 0.5889 GB, free: 3.141 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004187/0.1873, allocations: 1.99 MB / 0.5908 GB, free: 1.145 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2916/0.4789, allocations: 2.814 MB / 0.5936 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001677/0.4806, allocations: 412.3 kB / 0.594 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003464/0.484, allocations: 1.477 MB / 0.5954 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003751/0.4878, allocations: 2.509 MB / 0.5979 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00606/0.4938, allocations: 2.767 MB / 0.6006 GB, free: 9.121 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01457/0.5084, allocations: 8.794 MB / 0.6091 GB, free: 7.789 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.5084, allocations: 0 / 0.6091 GB, free: 7.789 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5084, allocations: 3.781 kB / 0.6092 GB, free: 7.789 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004449/0.5089, allocations: 0 / 0.6092 GB, free: 7.789 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.02328/0.5321, allocations: 6.358 MB / 0.6154 GB, free: 4.926 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.5322, allocations: 8.75 kB / 0.6154 GB, free: 4.926 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003284/0.5355, allocations: 0.8223 MB / 0.6162 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04223/0.5777, allocations: 6.059 MB / 0.6221 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/0.5881, allocations: 4.153 MB / 0.6261 GB, free: 116 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.5884, allocations: 284.6 kB / 0.6264 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002121/0.5905, allocations: 381.7 kB / 0.6268 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02913/0.6196, allocations: 11.48 MB / 0.638 GB, free: 8.977 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002971/0.6199, allocations: 62.27 kB / 0.6381 GB, free: 8.961 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001796/0.6217, allocations: 181.2 kB / 0.6382 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004324/0.626, allocations: 2.141 MB / 0.6403 GB, free: 6.812 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02266/0.6487, allocations: 9.382 MB / 0.6495 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06877/0.7175, allocations: 45.35 MB / 0.6938 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01151/0.729, allocations: 3.677 MB / 0.6974 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003107/0.7321, allocations: 1.858 MB / 0.6992 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01204/0.7441, allocations: 5.649 MB / 0.7047 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/0.7442, allocations: 51.3 kB / 0.7047 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 4.358e-06/0.7442, allocations: 0 / 0.7047 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.05181/0.796, allocations: 15.92 MB / 0.7203 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.7961, allocations: 225.6 kB / 0.7205 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01332/0.8095, allocations: 5.64 MB / 0.726 GB, free: 14.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004558/0.8099, allocations: 45.7 kB / 0.726 GB, free: 14.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004676/0.8146, allocations: 3.905 MB / 0.7299 GB, free: 10.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001301/0.8159, allocations: 0.6844 MB / 0.7305 GB, free: 9.684 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004721/0.8206, allocations: 1.349 MB / 0.7318 GB, free: 8.324 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8207, allocations: 301.1 kB / 0.7321 GB, free: 8.027 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004516/0.8253, allocations: 2.074 MB / 0.7342 GB, free: 5.949 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009756/0.835, allocations: 6.309 MB / 0.7403 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/0.8476, allocations: 9.144 MB / 0.7492 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001791/0.8478, allocations: 44 kB / 0.7493 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.01933/0.8672, allocations: 8.614 MB / 0.7577 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.8673, allocations: 78.27 kB / 0.7578 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002456/0.8676, allocations: 152 kB / 0.7579 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/0.8698, allocations: 0.714 MB / 0.7586 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005518/0.8753, allocations: 1.501 MB / 0.7601 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009601/0.8849, allocations: 6.966 MB / 0.7669 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005945/0.8908, allocations: 346.8 kB / 0.7672 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001569/0.8924, allocations: 412 kB / 0.7676 GB, free: 15.89 MB / 0.5919 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.006287/0.8987, allocations: 2.457 MB / 0.77 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/0.9001, allocations: 492.6 kB / 0.7705 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006625/0.9067, allocations: 2.643 MB / 0.7731 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.41e-05/0.9067, allocations: 20 kB / 0.7731 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.951e-05/0.9068, allocations: 4 kB / 0.7731 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.913e-05/0.9068, allocations: 7.969 kB / 0.7731 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01948/0.9263, allocations: 7.462 MB / 0.7804 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.647e-05/0.9263, allocations: 8 kB / 0.7804 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.9277, allocations: 251.6 kB / 0.7806 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00183/0.9295, allocations: 0.4975 MB / 0.7811 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003359/0.9299, allocations: 28 kB / 0.7811 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008351/0.9382, allocations: 6.295 MB / 0.7873 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.9382, allocations: 7.938 kB / 0.7873 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008839/0.9471, allocations: 4.952 MB / 0.7921 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/0.9487, allocations: 0.5406 MB / 0.7927 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001322/0.95, allocations: 39.92 kB / 0.7927 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002738/0.9527, allocations: 71.2 kB / 0.7928 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005149/0.9532, allocations: 96.88 kB / 0.7929 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002601/0.9535, allocations: 51.92 kB / 0.7929 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008754/0.9623, allocations: 3.613 MB / 0.7964 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9623, allocations: 0 / 0.7964 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007914/0.9702, allocations: 1.09 MB / 0.7975 GB, free: 0.875 MB / 0.6075 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.009848/0.98, allocations: 5.605 MB / 0.803 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01017/0.9902, allocations: 4.974 MB / 0.8078 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.9902, allocations: 0 / 0.8078 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002716/0.9929, allocations: 1.409 MB / 0.8092 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0056/0.9985, allocations: 0.6314 MB / 0.8098 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3873/1.386, allocations: 53.96 MB / 0.8625 GB, free: 221.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006817/1.393, allocations: 3.777 MB / 0.8662 GB, free: 219.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005872/1.399, allocations: 2.109 MB / 0.8683 GB, free: 219.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004461/1.403, allocations: 2.306 MB / 0.8705 GB, free: 217.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.563e-06/1.403, allocations: 5.031 kB / 0.8705 GB, free: 217.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1698/1.573, allocations: 84.72 MB / 0.9533 GB, free: 144.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.62/32.19, allocations: 0 / 0.9533 GB, free: 144.8 MB / 0.6544 GB " [Timeout remaining time 628] (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.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 35.38407715805806]