Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FreeBodies2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FreeBodies2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008476/0.0008477, allocations: 92.03 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2928/0.2928, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.18e-05/6.222e-05, allocations: 4.203 kB / 451.9 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1596, allocations: 61.92 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5124/0.6721, allocations: 108.7 MB / 0.6079 GB, free: 12.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.6724, allocations: 79.95 kB / 0.608 GB, free: 12.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.771/1.443, allocations: 148.1 MB / 0.7526 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.506e-06/1.443, allocations: 0 / 0.7526 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005859/1.444, allocations: 161.4 kB / 0.7528 GB, free: 108.6 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: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.04128/1.485, allocations: 8.857 MB / 0.7614 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/1.485, allocations: 7.219 kB / 0.7614 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007155/1.493, allocations: 1.348 MB / 0.7628 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03285/1.525, allocations: 7.776 MB / 0.7704 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02783/1.553, allocations: 10.44 MB / 0.7806 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007137/1.554, allocations: 0.5828 MB / 0.7811 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004603/1.559, allocations: 0.7894 MB / 0.7819 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04996/1.609, allocations: 18.17 MB / 0.7996 GB, free: 95.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008058/1.61, allocations: 103.8 kB / 0.7997 GB, free: 95.36 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00448/1.614, allocations: 376.5 kB / 0.8001 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002982/1.617, allocations: 1.685 MB / 0.8017 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03464/1.652, allocations: 14.67 MB / 0.8161 GB, free: 84.14 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1026/1.754, allocations: 81.14 MB / 0.8953 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02224/1.777, allocations: 7.541 MB / 0.9027 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006085/1.783, allocations: 3.37 MB / 0.906 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4236/2.207, allocations: 17.02 MB / 0.9226 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/2.207, allocations: 68.53 kB / 0.9226 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 6.953e-06/2.207, allocations: 0 / 0.9226 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=329): time 0.07273/2.279, allocations: 23.95 MB / 0.946 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003743/2.283, allocations: 6.264 MB / 0.9521 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01295/2.296, allocations: 5.734 MB / 0.9577 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009954/2.297, allocations: 74.95 kB / 0.9578 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004563/2.302, allocations: 5.346 MB / 0.963 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00247/2.304, allocations: 1.326 MB / 0.9643 GB, free: 99.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/2.306, allocations: 200.2 kB / 0.9645 GB, free: 99.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007066/2.306, allocations: 0.7342 MB / 0.9652 GB, free: 98.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008002/2.314, allocations: 3.894 MB / 0.969 GB, free: 97.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01173/2.326, allocations: 9.729 MB / 0.9785 GB, free: 88.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009637/2.336, allocations: 6.033 MB / 0.9844 GB, free: 86.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002354/2.336, allocations: 58.81 kB / 0.9845 GB, free: 86.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.03894/2.375, allocations: 16.38 MB / 1 GB, free: 81.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001597/2.375, allocations: 92.62 kB / 1.001 GB, free: 81.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01832/2.394, allocations: 7.859 MB / 1.008 GB, free: 79.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01574/2.409, allocations: 3.904 MB / 1.012 GB, free: 78.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008668/2.418, allocations: 2.369 MB / 1.014 GB, free: 77.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/2.431, allocations: 13.56 MB / 1.028 GB, free: 64.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01094/2.442, allocations: 0.8726 MB / 1.028 GB, free: 64.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002701/2.445, allocations: 0.6019 MB / 1.029 GB, free: 63.65 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 936 * Number of states: 0 () * Number of discrete variables: 78 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (1240): * Single equations (assignments): 1215 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002647/2.447, allocations: 0.882 MB / 1.03 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001561/2.449, allocations: 0.5939 MB / 1.031 GB, free: 62.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/2.464, allocations: 7.768 MB / 1.038 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01333/2.478, allocations: 6.91 MB / 1.045 GB, free: 50.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.882e-05/2.478, allocations: 11.89 kB / 1.045 GB, free: 50.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-05/2.478, allocations: 18.48 kB / 1.045 GB, free: 50.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04355/2.521, allocations: 19.39 MB / 1.064 GB, free: 35.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.759e-05/2.522, allocations: 4 kB / 1.064 GB, free: 35.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003575/2.525, allocations: 0.6566 MB / 1.064 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009254/2.534, allocations: 3.135 MB / 1.068 GB, free: 32.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001172/2.536, allocations: 110.2 kB / 1.068 GB, free: 32.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/2.548, allocations: 14 MB / 1.081 GB, free: 18.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003045/2.551, allocations: 6.041 MB / 1.087 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02065/2.572, allocations: 12.7 MB / 1.1 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002975/2.575, allocations: 0.6533 MB / 1.1 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002325/2.577, allocations: 95.83 kB / 1.1 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005003/2.582, allocations: 383.4 kB / 1.101 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00105/2.583, allocations: 241.5 kB / 1.101 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003254/2.584, allocations: 99.94 kB / 1.101 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.009861/2.594, allocations: 3.991 MB / 1.105 GB, free: 9.195 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.22e-07/2.594, allocations: 0 / 1.105 GB, free: 9.195 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01523/2.609, allocations: 2.091 MB / 1.107 GB, free: 7.109 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 252 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4201/3.029, allocations: 14.18 MB / 1.121 GB, free: 113.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02415/3.053, allocations: 11.36 MB / 1.132 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/3.053, allocations: 8.812 kB / 1.132 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01039/3.064, allocations: 5.418 MB / 1.137 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005675/3.069, allocations: 0.8589 MB / 1.138 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04944/3.119, allocations: 19.57 MB / 1.157 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008244/3.127, allocations: 5.53 MB / 1.163 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01019/3.137, allocations: 3.031 MB / 1.166 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008517/3.146, allocations: 3.676 MB / 1.169 GB, free: 102 MB / 0.5417 GB Notification: Performance of SimCode: time 1.864e-06/3.146, allocations: 3.594 kB / 1.169 GB, free: 102 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3382/3.484, allocations: 150.5 MB / 1.316 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000336/3.485, allocations: 180 kB / 1.316 GB, free: 5.406 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.493/11.98, allocations: 0 / 1.316 GB, free: 5.406 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FreeBodies2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FreeBodies2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies2_res.mat does not exist to compare? outputFormat=mat