Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 182.5 kB / 8.522 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.4 MB / 230.3 MB, free: 7.727 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.001011/0.001011, allocations: 95.3 kB / 281.2 MB, free: 5.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2843/0.2843, allocations: 44.15 MB / 376.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2968/0.5812, allocations: 68.02 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.7746, allocations: 61.91 MB / 0.4942 GB, free: 1.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3196/1.094, allocations: 86.49 MB / 0.5786 GB, free: 10.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/1.095, allocations: 67.78 kB / 0.5787 GB, free: 10.23 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.02053/1.115, allocations: 7.564 MB / 0.5861 GB, free: 2.629 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.115, allocations: 11.94 kB / 0.5861 GB, free: 2.617 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/1.115, allocations: 47.44 kB / 0.5861 GB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/1.116, allocations: 230.2 kB / 0.5864 GB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/1.116, allocations: 16 kB / 0.5864 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.002e-05/1.116, allocations: 31.91 kB / 0.5864 GB, free: 2.258 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004483/1.116, allocations: 214 kB / 0.5866 GB, free: 2.051 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006358/1.117, allocations: 380.2 kB / 0.587 GB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/1.117, allocations: 11.84 kB / 0.587 GB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/1.117, allocations: 4 kB / 0.587 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/1.117, allocations: 16 kB / 0.587 GB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/1.119, allocations: 1.606 MB / 0.5886 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/1.12, allocations: 335.3 kB / 0.5889 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/1.12, allocations: 135.7 kB / 0.589 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/1.12, allocations: 7.938 kB / 0.589 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/1.12, allocations: 46.55 kB / 0.5891 GB, free: 15.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.166e-06/1.12, allocations: 2.734 kB / 0.5891 GB, free: 15.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005908/1.121, allocations: 241.4 kB / 0.5893 GB, free: 15.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.121, allocations: 269.2 kB / 0.5896 GB, free: 14.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/1.121, allocations: 201.2 kB / 0.5898 GB, free: 14.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/1.121, allocations: 29.7 kB / 0.5898 GB, free: 14.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/1.121, allocations: 227.5 kB / 0.59 GB, free: 14.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/1.121, allocations: 177.5 kB / 0.5902 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/1.121, allocations: 0 / 0.5902 GB, free: 14.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/1.121, allocations: 350.7 kB / 0.5905 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/1.122, allocations: 97.56 kB / 0.5906 GB, free: 13.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/1.122, allocations: 386.3 kB / 0.591 GB, free: 13.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/1.122, allocations: 168.2 kB / 0.5911 GB, free: 12.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/1.122, allocations: 4 kB / 0.5911 GB, free: 12.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007251/1.123, allocations: 481.4 kB / 0.5916 GB, free: 12.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/1.123, allocations: 4 kB / 0.5916 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/1.123, allocations: 12.16 kB / 0.5916 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/1.123, allocations: 16.75 kB / 0.5916 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/1.124, allocations: 187.7 kB / 0.5918 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/1.124, allocations: 15.94 kB / 0.5918 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/1.124, allocations: 55.36 kB / 0.5919 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/1.124, allocations: 32 kB / 0.5919 GB, free: 12.2 MB / 410.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.0001071/1.124, allocations: 128.6 kB / 0.592 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/1.124, allocations: 35.62 kB / 0.5921 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.029e-05/1.125, allocations: 37.7 kB / 0.5921 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/1.125, allocations: 11.94 kB / 0.5921 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.125, allocations: 3.938 kB / 0.5921 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/1.125, allocations: 7.984 kB / 0.5921 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009499/1.126, allocations: 357.7 kB / 0.5925 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/1.126, allocations: 3.938 kB / 0.5925 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006404/1.126, allocations: 123.9 kB / 0.5926 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/1.126, allocations: 4 kB / 0.5926 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/1.126, allocations: 8 kB / 0.5926 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/1.126, allocations: 7.984 kB / 0.5926 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.126, allocations: 8 kB / 0.5926 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008406/1.127, allocations: 1.124 MB / 0.5937 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009492/1.128, allocations: 1.594 MB / 0.5953 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.521e-05/1.128, allocations: 112.7 kB / 0.5954 GB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/1.128, allocations: 8.125 kB / 0.5954 GB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/1.129, allocations: 4 kB / 0.5954 GB, free: 8.414 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/1.129, allocations: 23.97 kB / 0.5954 GB, free: 8.391 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/1.129, allocations: 15.98 kB / 0.5954 GB, free: 8.375 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000119/1.129, allocations: 149.2 kB / 0.5956 GB, free: 8.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001492/1.13, allocations: 127.5 kB / 0.5957 GB, free: 8.105 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 () * 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.0001384/1.131, allocations: 110.9 kB / 0.5958 GB, free: 7.988 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000471/1.131, allocations: 301.8 kB / 0.5961 GB, free: 7.695 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.131, allocations: 1 kB / 0.5961 GB, free: 7.695 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/1.131, allocations: 120.3 kB / 0.5962 GB, free: 7.578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008235/1.132, allocations: 67.28 kB / 0.5962 GB, free: 7.512 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/1.135, allocations: 1.913 MB / 0.5981 GB, free: 5.543 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/1.135, allocations: 0.91 MB / 0.599 GB, free: 4.605 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/1.135, allocations: 4 kB / 0.599 GB, free: 4.602 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat