Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002307/0.002307, allocations: 184.6 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.251/2.251, allocations: 205.4 MB / 222.5 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 94.84 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5624/0.5624, allocations: 43.56 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.000464, allocations: 12 kB / 431.5 MB, free: 5.863 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1491, allocations: 58.84 MB / 490.3 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5157/0.6649, allocations: 86.11 MB / 0.5629 GB, free: 312 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.6652, allocations: 63.19 kB / 0.563 GB, free: 252 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03115/0.6964, allocations: 7.107 MB / 0.5699 GB, free: 9.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.6964, allocations: 0 / 0.5699 GB, free: 9.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.6964, allocations: 12 kB / 0.5699 GB, free: 9.168 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00141/0.6979, allocations: 0.6313 MB / 0.5705 GB, free: 8.492 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.6979, allocations: 8.031 kB / 0.5706 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.6981, allocations: 86.52 kB / 0.5706 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.6982, allocations: 58.78 kB / 0.5707 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.6985, allocations: 223.2 kB / 0.5709 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/0.6986, allocations: 33 kB / 0.5709 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.6987, allocations: 59.89 kB / 0.571 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.6998, allocations: 451.1 kB / 0.5714 GB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.101e-05/0.6998, allocations: 15.84 kB / 0.5714 GB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.689e-05/0.6999, allocations: 20.34 kB / 0.5715 GB, free: 7.477 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.6999, allocations: 15.95 kB / 0.5715 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007312/0.7007, allocations: 259.7 kB / 0.5717 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003587/0.7043, allocations: 1.7 MB / 0.5734 GB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/0.7051, allocations: 403.4 kB / 0.5738 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.7052, allocations: 11.94 kB / 0.5738 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.7053, allocations: 51.36 kB / 0.5738 GB, free: 4.879 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.327e-06/0.7053, allocations: 0 / 0.5738 GB, free: 4.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.001154/0.7064, allocations: 354.7 kB / 0.5742 GB, free: 4.527 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/0.7066, allocations: 276.5 kB / 0.5744 GB, free: 4.199 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.707, allocations: 217.8 kB / 0.5746 GB, free: 3.984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.7071, allocations: 33.7 kB / 0.5747 GB, free: 3.945 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.7073, allocations: 298 kB / 0.575 GB, free: 3.652 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.7075, allocations: 181.5 kB / 0.5751 GB, free: 3.473 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.7076, allocations: 12 kB / 0.5751 GB, free: 3.461 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.7077, allocations: 338.8 kB / 0.5755 GB, free: 3.121 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.7081, allocations: 110 kB / 0.5756 GB, free: 3.016 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.7086, allocations: 421.6 kB / 0.576 GB, free: 2.469 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.7091, allocations: 192.1 kB / 0.5761 GB, free: 2.281 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.7092, allocations: 0 / 0.5761 GB, free: 2.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001403/0.7106, allocations: 0.556 MB / 0.5767 GB, free: 1.719 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.7107, allocations: 15.98 kB / 0.5767 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.7107, allocations: 8 kB / 0.5767 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.066e-05/0.7107, allocations: 16 kB / 0.5767 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.7118, allocations: 175.7 kB / 0.5769 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.284e-05/0.7119, allocations: 23.92 kB / 0.5769 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.7124, allocations: 63.38 kB / 0.577 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.7124, allocations: 32 kB / 0.577 GB, free: 1.391 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * 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.0003357/0.7128, allocations: 189.5 kB / 0.5772 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/0.7131, allocations: 39.62 kB / 0.5772 GB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.7132, allocations: 45.66 kB / 0.5773 GB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.7132, allocations: 8 kB / 0.5773 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.7132, allocations: 0 / 0.5773 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.7133, allocations: 7.984 kB / 0.5773 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.7148, allocations: 417.1 kB / 0.5777 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.7149, allocations: 0 / 0.5777 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.7161, allocations: 123.9 kB / 0.5778 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.7162, allocations: 4.547 kB / 0.5778 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.398e-05/0.7162, allocations: 16 kB / 0.5778 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.296e-05/0.7163, allocations: 15.89 kB / 0.5778 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7163, allocations: 0 / 0.5778 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.7177, allocations: 1.167 MB / 0.579 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.7179, allocations: 121.1 kB / 0.5791 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.922e-05/0.718, allocations: 16 kB / 0.5791 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005984/0.7186, allocations: 8 kB / 0.5791 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/0.7187, allocations: 23.97 kB / 0.5791 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.7187, allocations: 19.98 kB / 0.5792 GB, free: 15.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002459/0.719, allocations: 169.9 kB / 0.5793 GB, free: 14.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.719, allocations: 0 / 0.5793 GB, free: 14.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001169/0.7202, allocations: 143.7 kB / 0.5795 GB, free: 14.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * Array equations: 0 * 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.001952/0.7221, allocations: 2.281 MB / 0.5817 GB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009482/0.7231, allocations: 349.2 kB / 0.582 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.7232, allocations: 0 / 0.582 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.7235, allocations: 123.8 kB / 0.5821 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.7247, allocations: 88.2 kB / 0.5822 GB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.7361, allocations: 10.49 MB / 0.5925 GB, free: 1.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.7368, allocations: 0.8471 MB / 0.5933 GB, free: 220 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/0.7372, allocations: 143.4 kB / 0.5934 GB, free: 80 kB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.7372, allocations: 0 / 0.5934 GB, free: 80 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.461/3.198, allocations: 6.771 MB / 0.6 GB, free: 9.324 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat