Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 225.4 MB / 240.1 MB, free: 15.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008366/0.0008365, allocations: 84.88 kB / 292.1 MB, free: 5.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1777/0.1777, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.916e-05/2.927e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.09372, allocations: 63.24 MB / 0.5114 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3907/0.4845, allocations: 97.35 MB / 0.6065 GB, free: 12.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.4848, allocations: 78.77 kB / 0.6066 GB, free: 12.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2292/0.714, allocations: 92.32 MB / 0.6968 GB, free: 8.273 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.7141, allocations: 0 / 0.6968 GB, free: 8.273 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003259/0.7144, allocations: 100 kB / 0.6968 GB, free: 8.176 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.06168/0.7761, allocations: 9.89 MB / 0.7065 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.7762, allocations: 11.97 kB / 0.7065 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003342/0.7795, allocations: 0.8494 MB / 0.7073 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009634/0.7892, allocations: 2.079 MB / 0.7094 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009376/0.7986, allocations: 3.402 MB / 0.7127 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004486/0.7991, allocations: 345.1 kB / 0.713 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003489/0.8026, allocations: 483.6 kB / 0.7135 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04692/0.8495, allocations: 15.33 MB / 0.7285 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003707/0.85, allocations: 63.38 kB / 0.7285 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002729/0.8527, allocations: 223.9 kB / 0.7287 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00268/0.8554, allocations: 1.117 MB / 0.7298 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03826/0.8937, allocations: 15.18 MB / 0.7447 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.333/1.227, allocations: 55.62 MB / 0.799 GB, free: 90.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04135/1.268, allocations: 7.219 MB / 0.806 GB, free: 89.38 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003745/1.272, allocations: 2.813 MB / 0.8088 GB, free: 89.35 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00782/1.28, allocations: 6.575 MB / 0.8152 GB, free: 85.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/1.28, allocations: 48.06 kB / 0.8152 GB, free: 85.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=176): time 3.827e-06/1.28, allocations: 3.062 kB / 0.8152 GB, free: 85.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=176): time 0.003644/1.284, allocations: 2.689 MB / 0.8179 GB, free: 85.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/1.284, allocations: 144.5 kB / 0.818 GB, free: 85.28 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005592/1.289, allocations: 4.246 MB / 0.8222 GB, free: 84.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002044/1.289, allocations: 46.77 kB / 0.8222 GB, free: 84.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001742/1.291, allocations: 3.597 MB / 0.8257 GB, free: 83.17 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007369/1.292, allocations: 0.7272 MB / 0.8264 GB, free: 82.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002626/1.292, allocations: 132.5 kB / 0.8265 GB, free: 82.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002714/1.293, allocations: 0.5843 MB / 0.8271 GB, free: 82.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002637/1.295, allocations: 2.161 MB / 0.8292 GB, free: 81.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00415/1.299, allocations: 6.427 MB / 0.8355 GB, free: 74.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004811/1.304, allocations: 3.712 MB / 0.8391 GB, free: 73.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/1.304, allocations: 46.3 kB / 0.8392 GB, free: 73.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01182/1.316, allocations: 8.382 MB / 0.8474 GB, free: 70.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.723e-05/1.316, allocations: 71.09 kB / 0.8474 GB, free: 70.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/1.316, allocations: 154.5 kB / 0.8476 GB, free: 70.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/1.317, allocations: 223.8 kB / 0.8478 GB, free: 70.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004562/1.321, allocations: 1.629 MB / 0.8494 GB, free: 70.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001621/1.321, allocations: 296.3 kB / 0.8497 GB, free: 70.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004858/1.326, allocations: 0.9254 MB / 0.8506 GB, free: 70.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006455/1.327, allocations: 437.6 kB / 0.851 GB, free: 70.05 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.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 (849): * Single equations (assignments): 846 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007372/1.328, allocations: 0.6351 MB / 0.8516 GB, free: 69.53 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005576/1.328, allocations: 406.3 kB / 0.852 GB, free: 69.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003331/1.331, allocations: 2.527 MB / 0.8545 GB, free: 68.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/1.331, allocations: 21.55 kB / 0.8545 GB, free: 68.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.331, allocations: 3.719 kB / 0.8545 GB, free: 68.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/1.332, allocations: 9.844 kB / 0.8545 GB, free: 68.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006025/1.338, allocations: 4.281 MB / 0.8587 GB, free: 66.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/1.338, allocations: 0 / 0.8587 GB, free: 66.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/1.339, allocations: 354.4 kB / 0.859 GB, free: 66.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.672e-05/1.339, allocations: 7.25 kB / 0.859 GB, free: 66.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/1.34, allocations: 35.28 kB / 0.859 GB, free: 66.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/1.34, allocations: 7.406 kB / 0.8591 GB, free: 66.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.34, allocations: 0 / 0.8591 GB, free: 66.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004975/1.345, allocations: 4.855 MB / 0.8638 GB, free: 64.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/1.346, allocations: 0.4964 MB / 0.8643 GB, free: 64.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003998/1.346, allocations: 32.31 kB / 0.8643 GB, free: 64.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/1.348, allocations: 62.41 kB / 0.8644 GB, free: 64.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/1.348, allocations: 94.98 kB / 0.8645 GB, free: 64.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.348, allocations: 57.5 kB / 0.8645 GB, free: 64.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00421/1.352, allocations: 2.952 MB / 0.8674 GB, free: 63.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.162e-06/1.352, allocations: 0 / 0.8674 GB, free: 63.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005481/1.358, allocations: 1.357 MB / 0.8687 GB, free: 62.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005115/1.363, allocations: 5.673 MB / 0.8743 GB, free: 57.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006806/1.37, allocations: 4.943 MB / 0.8791 GB, free: 52.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.37, allocations: 4 kB / 0.8791 GB, free: 52.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/1.371, allocations: 1.254 MB / 0.8803 GB, free: 51.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/1.373, allocations: 493.9 kB / 0.8808 GB, free: 51.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/1.39, allocations: 10.33 MB / 0.8909 GB, free: 42.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002975/1.393, allocations: 3.675 MB / 0.8945 GB, free: 39.53 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004983/1.398, allocations: 2.062 MB / 0.8965 GB, free: 38.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002575/1.401, allocations: 2.214 MB / 0.8986 GB, free: 36.18 MB / 0.5261 GB Notification: Performance of SimCode: time 7.72e-07/1.401, allocations: 0 / 0.8986 GB, free: 36.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.361/1.762, allocations: 88.17 MB / 0.9847 GB, free: 120.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/1.762, allocations: 165.6 kB / 0.9849 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.892/5.654, allocations: 0 / 0.9849 GB, free: 120.3 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Rotor1D_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat