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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001637/0.001637, allocations: 117.1 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002089/0.002089, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2017/0.2017, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 71.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.305, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01586/0.3209, allocations: 14.97 MB / 0.5451 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.3324, allocations: 5.006 MB / 0.55 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002781/0.3352, allocations: 102.7 kB / 0.5501 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00716/0.3424, allocations: 4.01 MB / 0.554 GB, free: 9.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005895/0.3484, allocations: 2.319 MB / 0.5563 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002533/0.3509, allocations: 1.154 MB / 0.5574 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00887/0.3598, allocations: 6.589 MB / 0.5639 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006013/0.3658, allocations: 4.686 MB / 0.5684 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/0.3696, allocations: 2.196 MB / 0.5706 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004763/0.3744, allocations: 3.018 MB / 0.5735 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002144/0.3766, allocations: 456 kB / 0.574 GB, free: 5.113 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004236/0.3808, allocations: 1.533 MB / 0.5755 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003303/0.3842, allocations: 2.735 MB / 0.5781 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005384/0.3896, allocations: 3.127 MB / 0.5812 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.4018, allocations: 9.737 MB / 0.5907 GB, free: 3.922 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.4019, allocations: 0 / 0.5907 GB, free: 3.922 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.4019, allocations: 0 / 0.5907 GB, free: 3.922 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003225/0.4022, allocations: 0 / 0.5907 GB, free: 3.922 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.02019/0.4224, allocations: 6.991 MB / 0.5975 GB, free: 12.85 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4225, allocations: 8.031 kB / 0.5975 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002416/0.4249, allocations: 0.9179 MB / 0.5984 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1775/0.6024, allocations: 12.5 MB / 0.6106 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.6135, allocations: 4.566 MB / 0.6151 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/0.6139, allocations: 312.1 kB / 0.6154 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00161/0.6155, allocations: 431.6 kB / 0.6158 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02706/0.6426, allocations: 13.7 MB / 0.6292 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001822/0.6428, allocations: 55.53 kB / 0.6292 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007278/0.6436, allocations: 195.8 kB / 0.6294 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003918/0.6475, allocations: 2.527 MB / 0.6319 GB, free: 8.688 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02348/0.671, allocations: 11.56 MB / 0.6432 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06545/0.7365, allocations: 52.82 MB / 0.6948 GB, free: 6.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01597/0.7525, allocations: 5.811 MB / 0.7004 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004405/0.757, allocations: 3.381 MB / 0.7037 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2522/1.009, allocations: 14.86 MB / 0.7183 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.364e-05/1.009, allocations: 55.77 kB / 0.7183 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 6.091e-06/1.009, allocations: 3.531 kB / 0.7183 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264): time 0.07941/1.089, allocations: 26.23 MB / 0.7439 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/1.089, allocations: 261.3 kB / 0.7442 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005293/1.094, allocations: 5.071 MB / 0.7491 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004018/1.095, allocations: 65.7 kB / 0.7492 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001476/1.096, allocations: 3.943 MB / 0.753 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007381/1.097, allocations: 0.9899 MB / 0.754 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/1.098, allocations: 1.464 MB / 0.7554 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.726e-05/1.098, allocations: 305.1 kB / 0.7557 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002956/1.101, allocations: 2.735 MB / 0.7584 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00425/1.105, allocations: 7.079 MB / 0.7653 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008313/1.114, allocations: 10.66 MB / 0.7757 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.439e-05/1.114, allocations: 44 kB / 0.7758 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01349/1.127, allocations: 10.11 MB / 0.7856 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.718e-05/1.128, allocations: 68 kB / 0.7857 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/1.128, allocations: 156 kB / 0.7859 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/1.129, allocations: 0.7111 MB / 0.7865 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005198/1.134, allocations: 1.766 MB / 0.7883 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005772/1.14, allocations: 6.842 MB / 0.795 GB, free: 96.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005258/1.145, allocations: 415.2 kB / 0.7954 GB, free: 96.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009004/1.146, allocations: 444 kB / 0.7958 GB, free: 95.97 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.003356/1.15, allocations: 2.631 MB / 0.7983 GB, free: 93.33 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007419/1.15, allocations: 466 kB / 0.7988 GB, free: 92.87 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005616/1.156, allocations: 4.381 MB / 0.8031 GB, free: 88.47 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/1.156, allocations: 28 kB / 0.8031 GB, free: 88.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/1.156, allocations: 8.656 kB / 0.8031 GB, free: 88.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/1.156, allocations: 15.95 kB / 0.8031 GB, free: 88.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01752/1.174, allocations: 10.75 MB / 0.8136 GB, free: 77.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/1.174, allocations: 3.938 kB / 0.8136 GB, free: 77.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002397/1.176, allocations: 499.2 kB / 0.8141 GB, free: 77.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/1.177, allocations: 489.3 kB / 0.8146 GB, free: 76.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002716/1.178, allocations: 51.97 kB / 0.8146 GB, free: 76.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005291/1.183, allocations: 6.211 MB / 0.8207 GB, free: 70.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.183, allocations: 0 / 0.8207 GB, free: 70.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008967/1.192, allocations: 7.638 MB / 0.8281 GB, free: 62.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/1.193, allocations: 498.9 kB / 0.8286 GB, free: 61.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006405/1.194, allocations: 36 kB / 0.8286 GB, free: 61.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/1.196, allocations: 167.7 kB / 0.8288 GB, free: 61.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003356/1.196, allocations: 145.7 kB / 0.8289 GB, free: 61.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/1.196, allocations: 71.98 kB / 0.829 GB, free: 61.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003598/1.2, allocations: 3.18 MB / 0.8321 GB, free: 58.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.2, allocations: 0 / 0.8321 GB, free: 58.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005169/1.205, allocations: 1.279 MB / 0.8334 GB, free: 57.09 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.008937/1.214, allocations: 8.329 MB / 0.8415 GB, free: 48.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008335/1.222, allocations: 6.795 MB / 0.8481 GB, free: 41.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.222, allocations: 3.938 kB / 0.8481 GB, free: 41.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002454/1.225, allocations: 2.378 MB / 0.8505 GB, free: 39.49 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00319/1.228, allocations: 0.6255 MB / 0.8511 GB, free: 38.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06672/1.295, allocations: 58.92 MB / 0.9086 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004757/1.3, allocations: 4.105 MB / 0.9126 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005287/1.305, allocations: 2.373 MB / 0.9149 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00322/1.308, allocations: 2.624 MB / 0.9175 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/1.308, allocations: 0 / 0.9175 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3702/1.678, allocations: 93.04 MB / 1.008 GB, free: 194 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.36/35.04, allocations: 10.08 kB / 1.008 GB, free: 194 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches