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.001296/0.001296, allocations: 107.8 kB / 20.48 MB, free: 1.125 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.001441/0.001441, allocations: 214.7 kB / 23.78 MB, free: 4.328 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.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.2323/0.2323, allocations: 46.95 MB / 360.9 MB, free: 3.871 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.00228/0.00228, allocations: 83.86 kB / 0.4962 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.321, allocations: 66.08 MB / 0.5608 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01595/0.337, allocations: 13.02 MB / 0.5735 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.3478, allocations: 4.797 MB / 0.5782 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003136/0.351, allocations: 119.4 kB / 0.5783 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007981/0.359, allocations: 3.905 MB / 0.5821 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007131/0.3661, allocations: 2.397 MB / 0.5844 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.369, allocations: 1.174 MB / 0.5856 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01101/0.38, allocations: 6.59 MB / 0.592 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005841/0.3858, allocations: 3.763 MB / 0.5957 GB, free: 28 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004823/0.3907, allocations: 2.235 MB / 0.5979 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005872/0.3965, allocations: 3.084 MB / 0.6009 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001603/0.3981, allocations: 456 kB / 0.6013 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003375/0.4015, allocations: 1.424 MB / 0.6027 GB, free: 8.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003752/0.4053, allocations: 2.805 MB / 0.6054 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004503/0.4098, allocations: 2.389 MB / 0.6078 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01389/0.4237, allocations: 9.814 MB / 0.6174 GB, free: 9.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.4237, allocations: 0 / 0.6174 GB, free: 9.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4237, allocations: 4 kB / 0.6174 GB, free: 9.746 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003091/0.424, allocations: 0 / 0.6174 GB, free: 9.746 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.0224/0.4464, allocations: 7.124 MB / 0.6243 GB, free: 2.551 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4464, allocations: 12.03 kB / 0.6243 GB, free: 2.539 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002398/0.4488, allocations: 0.9141 MB / 0.6252 GB, free: 1.613 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1821/0.631, allocations: 12.95 MB / 0.6379 GB, free: 4.641 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0122/0.6432, allocations: 4.516 MB / 0.6423 GB, free: 60 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/0.6435, allocations: 316.1 kB / 0.6426 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/0.6449, allocations: 423.7 kB / 0.643 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02653/0.6714, allocations: 13.93 MB / 0.6566 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001617/0.6716, allocations: 55.53 kB / 0.6566 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005281/0.6721, allocations: 199.8 kB / 0.6568 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004268/0.6764, allocations: 2.527 MB / 0.6593 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.024/0.7004, allocations: 11.52 MB / 0.6706 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06967/0.7701, allocations: 50.23 MB / 0.7196 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01642/0.7865, allocations: 5.384 MB / 0.7249 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00491/0.7914, allocations: 3.061 MB / 0.7279 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2818/1.073, allocations: 12.19 MB / 0.7398 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/1.073, allocations: 59.84 kB / 0.7398 GB, free: 153 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 5.26e-06/1.073, allocations: 0 / 0.7398 GB, free: 153 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264): time 0.07264/1.146, allocations: 27.01 MB / 0.7662 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/1.146, allocations: 257.3 kB / 0.7664 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005457/1.151, allocations: 5.331 MB / 0.7716 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005143/1.152, allocations: 65.7 kB / 0.7717 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001813/1.154, allocations: 4.106 MB / 0.7757 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008911/1.155, allocations: 1.042 MB / 0.7767 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001486/1.156, allocations: 1.469 MB / 0.7782 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.345e-05/1.156, allocations: 301.1 kB / 0.7785 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002945/1.159, allocations: 2.669 MB / 0.7811 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004662/1.164, allocations: 7.118 MB / 0.788 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009618/1.173, allocations: 10.53 MB / 0.7983 GB, free: 99.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001377/1.174, allocations: 44 kB / 0.7983 GB, free: 99.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01597/1.19, allocations: 10.01 MB / 0.8081 GB, free: 89.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.403e-05/1.19, allocations: 68 kB / 0.8082 GB, free: 89.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001579/1.19, allocations: 152 kB / 0.8083 GB, free: 89.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/1.191, allocations: 0.7125 MB / 0.809 GB, free: 88.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005688/1.197, allocations: 1.774 MB / 0.8108 GB, free: 86.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005748/1.203, allocations: 6.58 MB / 0.8172 GB, free: 79.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005685/1.208, allocations: 419.5 kB / 0.8176 GB, free: 79.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/1.209, allocations: 440 kB / 0.818 GB, free: 78.88 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.00381/1.213, allocations: 2.639 MB / 0.8206 GB, free: 76.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/1.214, allocations: 496.7 kB / 0.821 GB, free: 75.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006069/1.22, allocations: 4.252 MB / 0.8252 GB, free: 71.47 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-05/1.22, allocations: 28 kB / 0.8252 GB, free: 71.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.22, allocations: 8 kB / 0.8252 GB, free: 71.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/1.22, allocations: 11.95 kB / 0.8252 GB, free: 71.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0208/1.241, allocations: 10.09 MB / 0.8351 GB, free: 61.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/1.241, allocations: 0 / 0.8351 GB, free: 61.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002433/1.244, allocations: 0.5031 MB / 0.8356 GB, free: 60.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/1.245, allocations: 485.2 kB / 0.8361 GB, free: 60.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000297/1.245, allocations: 47.98 kB / 0.8361 GB, free: 60.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005096/1.25, allocations: 5.959 MB / 0.8419 GB, free: 54.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.25, allocations: 4.125 kB / 0.8419 GB, free: 54.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008977/1.259, allocations: 7.442 MB / 0.8492 GB, free: 46.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/1.261, allocations: 444.6 kB / 0.8496 GB, free: 46.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001137/1.262, allocations: 51.34 kB / 0.8497 GB, free: 46.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002629/1.265, allocations: 159.8 kB / 0.8498 GB, free: 45.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004205/1.265, allocations: 157.6 kB / 0.85 GB, free: 45.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/1.265, allocations: 67.98 kB / 0.85 GB, free: 45.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004312/1.27, allocations: 3.172 MB / 0.8531 GB, free: 42.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.27, allocations: 4 kB / 0.8531 GB, free: 42.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006569/1.276, allocations: 1.277 MB / 0.8544 GB, free: 41.3 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.009041/1.285, allocations: 8.117 MB / 0.8623 GB, free: 33.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009324/1.294, allocations: 6.404 MB / 0.8686 GB, free: 26.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.294, allocations: 3.938 kB / 0.8686 GB, free: 26.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0029/1.297, allocations: 2.121 MB / 0.8706 GB, free: 24.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004365/1.302, allocations: 0.6174 MB / 0.8712 GB, free: 23.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1015/1.403, allocations: 58.73 MB / 0.9286 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009891/1.413, allocations: 3.586 MB / 0.9321 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01018/1.423, allocations: 2.392 MB / 0.9344 GB, free: 240 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007856/1.431, allocations: 2.632 MB / 0.937 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of SimCode: time 1.383e-06/1.431, allocations: 3.938 kB / 0.937 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4113/1.842, allocations: 93.37 MB / 1.028 GB, free: 201.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.47/20.31, allocations: 10.5 kB / 1.028 GB, free: 201.8 MB / 0.6544 GB " [Timeout remaining time 640] (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: 23.509190119802952]