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.00237/0.00237, allocations: 178.9 kB / 13.65 MB, free: 1.66 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.228/2.228, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001114/0.001114, allocations: 90.62 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2881/0.2881, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.606e-05/3.616e-05, allocations: 0 / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 58.85 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5838/0.7083, allocations: 86.02 MB / 0.5569 GB, free: 1.082 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.7086, allocations: 69.5 kB / 0.557 GB, free: 1.047 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03053/0.7391, allocations: 7.108 MB / 0.5639 GB, free: 11.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.7392, allocations: 0 / 0.5639 GB, free: 11.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.316e-05/0.7392, allocations: 8 kB / 0.5639 GB, free: 11.18 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001274/0.7405, allocations: 0.6098 MB / 0.5645 GB, free: 10.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.7406, allocations: 8.031 kB / 0.5645 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001261/0.7407, allocations: 88.47 kB / 0.5646 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.7408, allocations: 55.77 kB / 0.5646 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.7411, allocations: 222.3 kB / 0.5649 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.7412, allocations: 40.38 kB / 0.5649 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.7413, allocations: 55.03 kB / 0.565 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.7423, allocations: 440.1 kB / 0.5654 GB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.832e-05/0.7424, allocations: 11.91 kB / 0.5654 GB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.7424, allocations: 18.19 kB / 0.5654 GB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.095e-05/0.7425, allocations: 19.94 kB / 0.5654 GB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006633/0.7432, allocations: 245 kB / 0.5657 GB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003582/0.7468, allocations: 1.704 MB / 0.5673 GB, free: 8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007815/0.7476, allocations: 402.8 kB / 0.5677 GB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.7479, allocations: 155.5 kB / 0.5678 GB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.748, allocations: 12 kB / 0.5679 GB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.748, allocations: 45.92 kB / 0.5679 GB, free: 7.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.536e-06/0.748, allocations: 0 / 0.5679 GB, free: 7.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009113/0.7489, allocations: 282.2 kB / 0.5682 GB, free: 7.164 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/0.7491, allocations: 269 kB / 0.5684 GB, free: 6.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.7495, allocations: 212.8 kB / 0.5686 GB, free: 6.656 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.7495, allocations: 37.08 kB / 0.5687 GB, free: 6.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.7498, allocations: 298 kB / 0.569 GB, free: 6.355 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.7499, allocations: 191.9 kB / 0.5691 GB, free: 6.195 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.75, allocations: 18.31 kB / 0.5692 GB, free: 6.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.7502, allocations: 336.8 kB / 0.5695 GB, free: 5.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.7505, allocations: 110.6 kB / 0.5696 GB, free: 5.793 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/0.7511, allocations: 398.3 kB / 0.57 GB, free: 5.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/0.7516, allocations: 191.8 kB / 0.5701 GB, free: 5.184 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.7516, allocations: 0 / 0.5701 GB, free: 5.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001298/0.7529, allocations: 0.5373 MB / 0.5707 GB, free: 4.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.753, allocations: 16.2 kB / 0.5707 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.753, allocations: 12 kB / 0.5707 GB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-05/0.7531, allocations: 15.98 kB / 0.5707 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.7542, allocations: 185.1 kB / 0.5709 GB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.38e-05/0.7542, allocations: 19.92 kB / 0.5709 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.7547, allocations: 61.56 kB / 0.571 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.7548, allocations: 34.88 kB / 0.571 GB, free: 4.434 MB / 378.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 () * 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.0001807/0.755, allocations: 150.9 kB / 0.5711 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/0.7553, allocations: 39.53 kB / 0.5712 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.7554, allocations: 50.41 kB / 0.5712 GB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.7554, allocations: 4 kB / 0.5712 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.7554, allocations: 4 kB / 0.5712 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.7555, allocations: 3.984 kB / 0.5712 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.757, allocations: 414.2 kB / 0.5716 GB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.757, allocations: 4 kB / 0.5716 GB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.7583, allocations: 123 kB / 0.5718 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.877e-05/0.7584, allocations: 4.25 kB / 0.5718 GB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.569e-05/0.7584, allocations: 14.75 kB / 0.5718 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.481e-05/0.7585, allocations: 23.83 kB / 0.5718 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.7585, allocations: 4 kB / 0.5718 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.7598, allocations: 1.16 MB / 0.5729 GB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.76, allocations: 120.6 kB / 0.573 GB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.7601, allocations: 11.12 kB / 0.5731 GB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005847/0.7607, allocations: 10.94 kB / 0.5731 GB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.7608, allocations: 27.16 kB / 0.5731 GB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.7608, allocations: 14.42 kB / 0.5731 GB, free: 2.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002322/0.7611, allocations: 166.1 kB / 0.5733 GB, free: 2.215 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7611, allocations: 0 / 0.5733 GB, free: 2.215 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001115/0.7622, allocations: 141 kB / 0.5734 GB, free: 2.094 MB / 378.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 () * 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.002039/0.7643, allocations: 2.26 MB / 0.5756 GB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009557/0.7653, allocations: 349.9 kB / 0.5759 GB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7653, allocations: 0 / 0.5759 GB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.7656, allocations: 124.5 kB / 0.5761 GB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.7669, allocations: 84.27 kB / 0.5761 GB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005463/0.7724, allocations: 2.159 MB / 0.5782 GB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.7731, allocations: 0.8356 MB / 0.5791 GB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.7734, allocations: 144.8 kB / 0.5792 GB, free: 12.38 MB / 394.7 MB Notification: Performance of SimCode: time 1.633e-06/0.7734, allocations: 0 / 0.5792 GB, free: 12.38 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.693/3.466, allocations: 6.762 MB / 0.5858 GB, free: 5.719 MB / 394.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