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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008756/0.0008755, allocations: 91.42 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1966/0.1966, allocations: 45.14 MB / 383.7 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.901e-05/1.901e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1179, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4085/0.5265, allocations: 113.8 MB / 0.6156 GB, free: 4.758 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.5267, allocations: 77.03 kB / 0.6156 GB, free: 4.723 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2813/0.808, allocations: 112.8 MB / 0.7258 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8081, allocations: 0 / 0.7258 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003677/0.8085, allocations: 108 kB / 0.7259 GB, free: 11.96 MB / 0.5105 GB 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.01856/0.827, allocations: 5.912 MB / 0.7316 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.8271, allocations: 12.03 kB / 0.7317 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02784/0.855, allocations: 6.899 MB / 0.7384 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01722/0.8722, allocations: 6.126 MB / 0.7444 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003702/0.8727, allocations: 176 kB / 0.7445 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002381/0.8751, allocations: 335.8 kB / 0.7449 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01448/0.8896, allocations: 8.105 MB / 0.7528 GB, free: 228 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3451/1.235, allocations: 12.04 MB / 0.7645 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003684/1.235, allocations: 72.41 kB / 0.7646 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001234/1.236, allocations: 34.81 kB / 0.7646 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002274/1.239, allocations: 1.36 MB / 0.766 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06172/1.3, allocations: 60.65 MB / 0.8252 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004711/1.305, allocations: 4.363 MB / 0.8295 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003208/1.308, allocations: 3.053 MB / 0.8324 GB, free: 76.37 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01503/1.323, allocations: 12.34 MB / 0.8445 GB, free: 70.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.308e-05/1.324, allocations: 64.22 kB / 0.8446 GB, free: 69.97 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=227): time 6.482e-06/1.324, allocations: 0 / 0.8446 GB, free: 69.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=265): time 0.04851/1.372, allocations: 24.72 MB / 0.8687 GB, free: 60.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.984e-05/1.372, allocations: 262.7 kB / 0.8689 GB, free: 60.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005805/1.378, allocations: 3.841 MB / 0.8727 GB, free: 59.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005603/1.379, allocations: 31.02 kB / 0.8727 GB, free: 59.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002062/1.381, allocations: 4.027 MB / 0.8767 GB, free: 55.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001024/1.382, allocations: 0.9673 MB / 0.8776 GB, free: 55.19 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003363/1.382, allocations: 0 / 0.8776 GB, free: 55.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003131/1.382, allocations: 0.6245 MB / 0.8782 GB, free: 54.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002721/1.385, allocations: 2.429 MB / 0.8806 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004362/1.389, allocations: 6.901 MB / 0.8873 GB, free: 46.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005231/1.395, allocations: 4.039 MB / 0.8913 GB, free: 43.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/1.395, allocations: 51.94 kB / 0.8913 GB, free: 43.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=997) (initialization): time 0.01579/1.411, allocations: 8.774 MB / 0.8999 GB, free: 35.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.037e-05/1.411, allocations: 79.28 kB / 0.9 GB, free: 35.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001485/1.411, allocations: 160 kB / 0.9001 GB, free: 35.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/1.412, allocations: 0.5842 MB / 0.9007 GB, free: 34.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00572/1.418, allocations: 1.799 MB / 0.9024 GB, free: 33.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004726/1.423, allocations: 5.416 MB / 0.9077 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005487/1.428, allocations: 253.8 kB / 0.908 GB, free: 27.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009979/1.429, allocations: 455.3 kB / 0.9084 GB, free: 27.55 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (947): * Single equations (assignments): 942 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001628/1.431, allocations: 0.5134 MB / 0.9089 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006129/1.437, allocations: 3.922 MB / 0.9127 GB, free: 23.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008972/1.438, allocations: 438.4 kB / 0.9132 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00597/1.444, allocations: 3.779 MB / 0.9168 GB, free: 20.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.238e-05/1.444, allocations: 34.94 kB / 0.9169 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/1.444, allocations: 11.47 kB / 0.9169 GB, free: 19.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.3e-05/1.444, allocations: 21.61 kB / 0.9169 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/1.461, allocations: 8.994 MB / 0.9257 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/1.461, allocations: 0 / 0.9257 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002298/1.464, allocations: 477.4 kB / 0.9261 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009129/1.465, allocations: 341.3 kB / 0.9265 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002809/1.465, allocations: 7.75 kB / 0.9265 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003863/1.469, allocations: 4.741 MB / 0.9311 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.469, allocations: 112 / 0.9311 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007496/1.476, allocations: 6.873 MB / 0.9378 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008923/1.477, allocations: 457.6 kB / 0.9383 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006973/1.478, allocations: 0 / 0.9383 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/1.48, allocations: 131.8 kB / 0.9384 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/1.48, allocations: 144.4 kB / 0.9385 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/1.48, allocations: 67.47 kB / 0.9386 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00969/1.49, allocations: 3.013 MB / 0.9415 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.51e-07/1.49, allocations: 4 kB / 0.9415 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006862/1.497, allocations: 1.116 MB / 0.9426 GB, free: 14.29 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 220 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0112/1.508, allocations: 7.668 MB / 0.9501 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009852/1.518, allocations: 6.06 MB / 0.956 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.518, allocations: 3.844 kB / 0.956 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.2805/1.798, allocations: 2.152 MB / 0.9581 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/1.802, allocations: 465 kB / 0.9586 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02952/1.831, allocations: 11.59 MB / 0.9699 GB, free: 124.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008334/1.84, allocations: 4.216 MB / 0.974 GB, free: 124.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008646/1.849, allocations: 2.439 MB / 0.9764 GB, free: 124.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005409/1.854, allocations: 2.608 MB / 0.9789 GB, free: 124 MB / 0.5417 GB Notification: Performance of SimCode: time 1.132e-06/1.854, allocations: 0 / 0.9789 GB, free: 124 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1379/1.992, allocations: 92.52 MB / 1.069 GB, free: 85.51 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/1.992, allocations: 150.6 kB / 1.069 GB, free: 85.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.616/6.608, allocations: 3.938 kB / 1.069 GB, free: 85.3 MB / 0.5417 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat