Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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) 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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",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.001106/0.001106, allocations: 179.5 kB / 16.38 MB, free: 5.766 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.334/1.334, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001033, allocations: 96.06 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003302, allocations: 8 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2713, allocations: 50.4 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1349/0.4063, allocations: 105.2 MB / 0.4949 GB, free: 7.238 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/0.4067, allocations: 95.95 kB / 0.495 GB, free: 7.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.499/0.9058, allocations: 112.7 MB / 0.605 GB, free: 7.391 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.9058, allocations: 0 / 0.605 GB, free: 7.391 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003489/0.9062, allocations: 108 kB / 0.6051 GB, free: 7.285 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01726/0.9234, allocations: 5.369 MB / 0.6103 GB, free: 1.844 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.9235, allocations: 12.03 kB / 0.6104 GB, free: 1.832 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004394/0.9279, allocations: 1.025 MB / 0.6114 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02767/0.9556, allocations: 6.9 MB / 0.6181 GB, free: 9.879 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01942/0.9751, allocations: 6.491 MB / 0.6244 GB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005426/0.9756, allocations: 394.3 kB / 0.6248 GB, free: 2.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002866/0.9785, allocations: 0.5153 MB / 0.6253 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0355/1.014, allocations: 12.66 MB / 0.6377 GB, free: 4.797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005166/1.015, allocations: 67.36 kB / 0.6377 GB, free: 4.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002822/1.017, allocations: 251.8 kB / 0.638 GB, free: 4.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001929/1.019, allocations: 1.04 MB / 0.639 GB, free: 3.445 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02631/1.046, allocations: 10.54 MB / 0.6493 GB, free: 8.891 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3064/1.352, allocations: 50.18 MB / 0.6983 GB, free: 44.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01233/1.365, allocations: 4.812 MB / 0.703 GB, free: 43.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01213/1.377, allocations: 7.02 MB / 0.7098 GB, free: 41.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/1.377, allocations: 57.47 kB / 0.7099 GB, free: 41.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=179): time 4.308e-06/1.377, allocations: 0 / 0.7099 GB, free: 41.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=224): time 0.06387/1.441, allocations: 20.24 MB / 0.7297 GB, free: 37.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/1.441, allocations: 203.6 kB / 0.7299 GB, free: 37.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005118/1.446, allocations: 3.92 MB / 0.7337 GB, free: 37.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002685/1.446, allocations: 60.45 kB / 0.7337 GB, free: 37.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001888/1.448, allocations: 3.573 MB / 0.7372 GB, free: 35.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006984/1.449, allocations: 0.836 MB / 0.738 GB, free: 34.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/1.449, allocations: 130.1 kB / 0.7382 GB, free: 34.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002712/1.449, allocations: 0.5735 MB / 0.7387 GB, free: 33.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002739/1.452, allocations: 2.17 MB / 0.7409 GB, free: 33.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004183/1.456, allocations: 5.914 MB / 0.7466 GB, free: 27.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00437/1.461, allocations: 3.521 MB / 0.7501 GB, free: 26.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-05/1.461, allocations: 39.66 kB / 0.7501 GB, free: 26.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=835) (initialization): time 0.01445/1.475, allocations: 8.789 MB / 0.7587 GB, free: 23.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.181e-05/1.475, allocations: 63 kB / 0.7587 GB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001267/1.475, allocations: 130.2 kB / 0.7589 GB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002965/1.478, allocations: 1.049 MB / 0.7599 GB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004203/1.483, allocations: 1.42 MB / 0.7613 GB, free: 21.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008573/1.491, allocations: 7.131 MB / 0.7682 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004902/1.496, allocations: 331.6 kB / 0.7686 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007848/1.497, allocations: 379.8 kB / 0.7689 GB, free: 14.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (771): * Single equations (assignments): 767 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004481/1.501, allocations: 2.486 MB / 0.7714 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000878/1.502, allocations: 406.5 kB / 0.7717 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00681/1.509, allocations: 3.663 MB / 0.7753 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-05/1.509, allocations: 27.95 kB / 0.7753 GB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.509, allocations: 8 kB / 0.7753 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/1.509, allocations: 12.05 kB / 0.7754 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01874/1.528, allocations: 9.867 MB / 0.785 GB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/1.528, allocations: 4 kB / 0.785 GB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/1.53, allocations: 355.3 kB / 0.7853 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002648/1.532, allocations: 0.8081 MB / 0.7861 GB, free: 264 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002118/1.533, allocations: 40 kB / 0.7862 GB, free: 224 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008402/1.541, allocations: 5.834 MB / 0.7919 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/1.541, allocations: 11.89 kB / 0.7919 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/1.552, allocations: 7.025 MB / 0.7987 GB, free: 4.547 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001795/1.554, allocations: 449.8 kB / 0.7992 GB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005814/1.555, allocations: 39.61 kB / 0.7992 GB, free: 4.062 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/1.556, allocations: 100.7 kB / 0.7993 GB, free: 3.992 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003708/1.557, allocations: 155.8 kB / 0.7994 GB, free: 3.891 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/1.557, allocations: 67.38 kB / 0.7995 GB, free: 3.828 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005115/1.562, allocations: 2.761 MB / 0.8022 GB, free: 1.555 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.562, allocations: 0 / 0.8022 GB, free: 1.555 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008064/1.57, allocations: 1.18 MB / 0.8034 GB, free: 404 kB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (j1.phi,j1.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 (176): * Single equations (assignments): 172 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01322/1.583, allocations: 8.969 MB / 0.8121 GB, free: 8.098 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009507/1.593, allocations: 5.406 MB / 0.8174 GB, free: 3.203 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/1.593, allocations: 0 / 0.8174 GB, free: 3.203 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002679/1.596, allocations: 1.802 MB / 0.8192 GB, free: 1.391 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/1.599, allocations: 0.5094 MB / 0.8197 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.281/1.88, allocations: 113.7 MB / 0.9307 GB, free: 36.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007856/1.888, allocations: 3.987 MB / 0.9346 GB, free: 35.44 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007039/1.895, allocations: 1.941 MB / 0.9365 GB, free: 35.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004702/1.899, allocations: 2.303 MB / 0.9388 GB, free: 35.39 MB / 490.7 MB Notification: Performance of SimCode: time 9.52e-07/1.899, allocations: 0 / 0.9388 GB, free: 35.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4046/2.304, allocations: 89.24 MB / 1.026 GB, free: 112.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/2.304, allocations: 215.1 kB / 1.026 GB, free: 111.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.135/7.44, allocations: 0 / 1.026 GB, free: 111.9 MB / 490.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat does not exist to compare? outputFormat=mat