Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.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.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialState",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 3.2.3+maint.om/package.mo): time 0.00134/0.00134, allocations: 186.4 kB / 7.804 MB, free: 1.188 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.2 MB / 213.4 MB, free: 8.602 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009744/0.0009743, allocations: 90.88 kB / 261.4 MB, free: 5.141 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2183/0.2183, allocations: 43.48 MB / 352.8 MB, free: 11.44 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2581/0.4764, allocations: 64.96 MB / 417.8 MB, free: 68.14 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.5947, allocations: 58.85 MB / 476.6 MB, free: 9.23 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3774/0.9722, allocations: 95.26 MB / 0.5585 GB, free: 0.9453 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.9725, allocations: 66.53 kB / 0.5586 GB, free: 0.9141 MB / 370.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.08922/1.062, allocations: 28.47 MB / 0.5864 GB, free: 9.008 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.062, allocations: 8 kB / 0.5864 GB, free: 9 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004774/1.062, allocations: 90.88 kB / 0.5865 GB, free: 8.91 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/1.064, allocations: 0.5703 MB / 0.587 GB, free: 8.375 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.557e-05/1.064, allocations: 12 kB / 0.587 GB, free: 8.363 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/1.064, allocations: 35.91 kB / 0.5871 GB, free: 8.328 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00105/1.066, allocations: 336.8 kB / 0.5874 GB, free: 8.113 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/1.067, allocations: 0.4968 MB / 0.5879 GB, free: 7.672 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/1.067, allocations: 11.84 kB / 0.5879 GB, free: 7.66 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.704e-05/1.067, allocations: 0 / 0.5879 GB, free: 7.66 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/1.067, allocations: 16 kB / 0.5879 GB, free: 7.645 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004504/1.071, allocations: 2.575 MB / 0.5904 GB, free: 5.34 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008165/1.072, allocations: 446 kB / 0.5908 GB, free: 5.008 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/1.072, allocations: 187.8 kB / 0.591 GB, free: 4.879 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.672e-05/1.073, allocations: 11.92 kB / 0.591 GB, free: 4.867 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/1.073, allocations: 41.78 kB / 0.5911 GB, free: 4.82 MB / 402.8 MB Notification: Performance of pre-optimization done (n=43): time 3.848e-06/1.073, allocations: 0 / 0.5911 GB, free: 4.82 MB / 402.8 MB Notification: Performance of matching and sorting (n=44): time 0.001897/1.074, allocations: 0.7745 MB / 0.5918 GB, free: 4.141 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/1.075, allocations: 132.5 kB / 0.5919 GB, free: 3.98 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007285/1.075, allocations: 0.4979 MB / 0.5924 GB, free: 3.586 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/1.075, allocations: 25.7 kB / 0.5925 GB, free: 3.555 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/1.076, allocations: 247.4 kB / 0.5927 GB, free: 3.34 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/1.076, allocations: 163.9 kB / 0.5929 GB, free: 3.199 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/1.076, allocations: 4.062 kB / 0.5929 GB, free: 3.195 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.0001935/1.076, allocations: 381.4 kB / 0.5932 GB, free: 2.844 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/1.076, allocations: 204.1 kB / 0.5934 GB, free: 2.719 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/1.077, allocations: 353.6 kB / 0.5938 GB, free: 2.387 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/1.077, allocations: 237.3 kB / 0.594 GB, free: 2.23 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.077, allocations: 4 kB / 0.594 GB, free: 2.227 MB / 402.8 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001094/1.078, allocations: 0.6298 MB / 0.5946 GB, free: 1.73 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009165/1.079, allocations: 1.748 MB / 0.5963 GB, free: 15.88 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.767e-05/1.079, allocations: 8 kB / 0.5963 GB, free: 15.87 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.094e-05/1.079, allocations: 12 kB / 0.5963 GB, free: 15.86 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008624/1.08, allocations: 167.2 kB / 0.5965 GB, free: 15.7 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/1.08, allocations: 11.94 kB / 0.5965 GB, free: 15.69 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/1.081, allocations: 83.53 kB / 0.5966 GB, free: 15.61 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/1.081, allocations: 23.94 kB / 0.5966 GB, free: 15.59 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.081, allocations: 19.16 kB / 0.5966 GB, free: 15.57 MB / 418.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009319/1.082, allocations: 0.4987 MB / 0.5971 GB, free: 15.21 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.082, allocations: 8.562 kB / 0.5971 GB, free: 15.2 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/1.082, allocations: 12 kB / 0.5971 GB, free: 15.19 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/1.083, allocations: 159.5 kB / 0.5973 GB, free: 15.04 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/1.083, allocations: 7.984 kB / 0.5973 GB, free: 15.03 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006263/1.083, allocations: 87.38 kB / 0.5974 GB, free: 14.95 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/1.083, allocations: 19.88 kB / 0.5974 GB, free: 14.93 MB / 418.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0001745/1.084, allocations: 130.6 kB / 0.5975 GB, free: 14.8 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/1.084, allocations: 67.16 kB / 0.5976 GB, free: 14.73 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/1.084, allocations: 88.16 kB / 0.5977 GB, free: 14.68 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.084, allocations: 7.984 kB / 0.5977 GB, free: 14.68 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.084, allocations: 0 / 0.5977 GB, free: 14.68 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.084, allocations: 0 / 0.5977 GB, free: 14.68 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/1.086, allocations: 0.7548 MB / 0.5984 GB, free: 14.04 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.086, allocations: 0 / 0.5984 GB, free: 14.04 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007643/1.086, allocations: 119.7 kB / 0.5985 GB, free: 13.93 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/1.086, allocations: 4 kB / 0.5985 GB, free: 13.92 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.513e-05/1.086, allocations: 10.88 kB / 0.5985 GB, free: 13.91 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/1.087, allocations: 7.984 kB / 0.5985 GB, free: 13.91 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.087, allocations: 7.844 kB / 0.5985 GB, free: 13.9 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001284/1.088, allocations: 0.9485 MB / 0.5995 GB, free: 13.12 MB / 418.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001715/1.09, allocations: 1.604 MB / 0.601 GB, free: 11.79 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/1.09, allocations: 188.9 kB / 0.6012 GB, free: 11.61 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/1.09, allocations: 11.42 kB / 0.6012 GB, free: 11.61 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006997/1.091, allocations: 59.95 kB / 0.6013 GB, free: 11.55 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/1.091, allocations: 39.34 kB / 0.6013 GB, free: 11.51 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/1.091, allocations: 11.56 kB / 0.6013 GB, free: 11.5 MB / 418.8 MB Notification: Performance of sort global known variables: time 0.0005305/1.091, allocations: 383.8 kB / 0.6017 GB, free: 11.23 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.002527/1.094, allocations: 171.9 kB / 0.6019 GB, free: 11.06 MB / 418.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.0004171/1.094, allocations: 115 kB / 0.602 GB, free: 10.93 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.001916/1.096, allocations: 0.7909 MB / 0.6027 GB, free: 10.37 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.096, allocations: 4.75 kB / 0.6027 GB, free: 10.37 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000387/1.097, allocations: 218 kB / 0.603 GB, free: 10.22 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/1.098, allocations: 159.8 kB / 0.6031 GB, free: 10.1 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/1.101, allocations: 1.206 MB / 0.6043 GB, free: 8.969 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.102, allocations: 1.058 MB / 0.6053 GB, free: 7.891 MB / 418.8 MB Notification: Performance of SimCode: time 1.313e-06/1.102, allocations: 0 / 0.6053 GB, free: 7.891 MB / 418.8 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat