Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.001352/0.001352, allocations: 116.5 kB / 20.44 MB, free: 1.469 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.001481/0.001481, allocations: 214.2 kB / 23.74 MB, free: 4.695 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.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 8.023 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.2265/0.2265, allocations: 46.92 MB / 360.8 MB, free: 4.195 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.LineForceWithMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 79.86 kB / 0.4962 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3266, allocations: 66.09 MB / 0.5608 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01821/0.3448, allocations: 15.04 MB / 0.5754 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.3563, allocations: 5.066 MB / 0.5804 GB, free: 92 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002752/0.3591, allocations: 123.5 kB / 0.5805 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008265/0.3673, allocations: 4.076 MB / 0.5845 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006682/0.374, allocations: 2.392 MB / 0.5868 GB, free: 9.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00297/0.377, allocations: 1.166 MB / 0.588 GB, free: 8.312 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009821/0.3868, allocations: 6.593 MB / 0.5944 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005413/0.3922, allocations: 3.79 MB / 0.5981 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004179/0.3964, allocations: 2.235 MB / 0.6003 GB, free: 11.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005669/0.4021, allocations: 3.26 MB / 0.6035 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001823/0.4039, allocations: 460 kB / 0.6039 GB, free: 7.879 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00372/0.4076, allocations: 1.58 MB / 0.6055 GB, free: 6.297 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003903/0.4115, allocations: 2.809 MB / 0.6082 GB, free: 3.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006001/0.4175, allocations: 3.135 MB / 0.6113 GB, free: 336 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01404/0.4315, allocations: 9.767 MB / 0.6208 GB, free: 6.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.4316, allocations: 8 kB / 0.6208 GB, free: 6.512 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4316, allocations: 0 / 0.6208 GB, free: 6.512 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003557/0.4319, allocations: 0 / 0.6208 GB, free: 6.512 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.02087/0.4528, allocations: 7.097 MB / 0.6277 GB, free: 15.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.4528, allocations: 15.97 kB / 0.6277 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00251/0.4553, allocations: 0.914 MB / 0.6286 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1552/0.6106, allocations: 12.54 MB / 0.6409 GB, free: 1.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0118/0.6224, allocations: 4.481 MB / 0.6453 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/0.6227, allocations: 320.1 kB / 0.6456 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00169/0.6244, allocations: 427.7 kB / 0.646 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02974/0.6541, allocations: 13.69 MB / 0.6593 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002021/0.6543, allocations: 55.53 kB / 0.6594 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000757/0.6551, allocations: 207.8 kB / 0.6596 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004353/0.6595, allocations: 2.515 MB / 0.6621 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02558/0.685, allocations: 11.55 MB / 0.6733 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07868/0.7637, allocations: 52.78 MB / 0.7249 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01589/0.7796, allocations: 5.121 MB / 0.7299 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004804/0.7844, allocations: 3.072 MB / 0.7329 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3212/1.106, allocations: 12.78 MB / 0.7454 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/1.106, allocations: 66.73 kB / 0.7454 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 5.2e-06/1.106, allocations: 1.406 kB / 0.7454 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264): time 0.07049/1.176, allocations: 26.29 MB / 0.7711 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.176, allocations: 257.3 kB / 0.7713 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006683/1.183, allocations: 5.084 MB / 0.7763 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006774/1.184, allocations: 69.7 kB / 0.7764 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002484/1.186, allocations: 4.107 MB / 0.7804 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/1.187, allocations: 1.029 MB / 0.7814 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001851/1.189, allocations: 1.473 MB / 0.7828 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.352e-05/1.189, allocations: 313 kB / 0.7831 GB, free: 120 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00323/1.193, allocations: 2.736 MB / 0.7858 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004597/1.197, allocations: 7.081 MB / 0.7927 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009387/1.207, allocations: 10.64 MB / 0.8031 GB, free: 95.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/1.207, allocations: 44 kB / 0.8031 GB, free: 95.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01623/1.223, allocations: 10.13 MB / 0.813 GB, free: 85.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.677e-05/1.223, allocations: 72 kB / 0.8131 GB, free: 85.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001242/1.223, allocations: 152.9 kB / 0.8132 GB, free: 84.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/1.225, allocations: 0.716 MB / 0.8139 GB, free: 84.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005735/1.23, allocations: 1.77 MB / 0.8157 GB, free: 82.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00591/1.236, allocations: 6.637 MB / 0.8222 GB, free: 75.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00574/1.242, allocations: 407.5 kB / 0.8225 GB, free: 75.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001164/1.243, allocations: 436 kB / 0.823 GB, free: 74.72 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (913): * Single equations (assignments): 908 * 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,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004179/1.247, allocations: 2.646 MB / 0.8255 GB, free: 72.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009691/1.248, allocations: 488.7 kB / 0.826 GB, free: 71.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006071/1.254, allocations: 4.377 MB / 0.8303 GB, free: 67.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.956e-05/1.254, allocations: 30.39 kB / 0.8303 GB, free: 67.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.254, allocations: 8 kB / 0.8303 GB, free: 67.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/1.254, allocations: 15.95 kB / 0.8303 GB, free: 67.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/1.271, allocations: 10.71 MB / 0.8408 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/1.271, allocations: 3.938 kB / 0.8408 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002313/1.274, allocations: 0.4915 MB / 0.8413 GB, free: 55.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/1.275, allocations: 489.2 kB / 0.8417 GB, free: 55.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002486/1.275, allocations: 47.98 kB / 0.8418 GB, free: 55.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005208/1.28, allocations: 6.005 MB / 0.8477 GB, free: 49.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.28, allocations: 4 kB / 0.8477 GB, free: 49.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009256/1.29, allocations: 7.647 MB / 0.8551 GB, free: 41.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/1.291, allocations: 444.6 kB / 0.8555 GB, free: 41.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/1.292, allocations: 48 kB / 0.8556 GB, free: 40.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002711/1.295, allocations: 155.8 kB / 0.8557 GB, free: 40.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005127/1.295, allocations: 157.7 kB / 0.8559 GB, free: 40.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001828/1.296, allocations: 71.98 kB / 0.856 GB, free: 40.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004249/1.3, allocations: 3.176 MB / 0.8591 GB, free: 37.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.3, allocations: 0 / 0.8591 GB, free: 37.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005979/1.306, allocations: 1.285 MB / 0.8603 GB, free: 36.16 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (224): * Single equations (assignments): 219 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009568/1.315, allocations: 8.34 MB / 0.8685 GB, free: 27.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008963/1.324, allocations: 6.547 MB / 0.8749 GB, free: 21.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.324, allocations: 7.938 kB / 0.8749 GB, free: 21.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002545/1.327, allocations: 2.202 MB / 0.877 GB, free: 18.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003894/1.331, allocations: 0.6313 MB / 0.8776 GB, free: 18.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09421/1.425, allocations: 59.21 MB / 0.9355 GB, free: 164 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005927/1.431, allocations: 4.105 MB / 0.9395 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005949/1.437, allocations: 2.377 MB / 0.9418 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004545/1.441, allocations: 2.62 MB / 0.9443 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of SimCode: time 1.002e-06/1.441, allocations: 0 / 0.9443 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4323/1.874, allocations: 98.46 MB / 1.04 GB, free: 190.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.44/36.31, allocations: 0 / 1.04 GB, free: 190.4 MB / 0.6544 GB " [Timeout remaining time 624] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.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: 39.516119241001434]