Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.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,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous",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.001892/0.001892, allocations: 190.4 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.001037/0.001036, allocations: 87.22 kB / 261.4 MB, free: 13.48 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.2228/0.2228, allocations: 43.49 MB / 352.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2369/0.4598, allocations: 64.96 MB / 417.8 MB, free: 40.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.8739, allocations: 58.84 MB / 476.6 MB, free: 5.117 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/1.024, allocations: 94.86 MB / 0.5581 GB, free: 3.918 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/1.025, allocations: 63.98 kB / 0.5582 GB, free: 3.855 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.04807/1.073, allocations: 15.27 MB / 0.5731 GB, free: 4.504 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/1.073, allocations: 12 kB / 0.5731 GB, free: 4.492 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004069/1.073, allocations: 90.88 kB / 0.5732 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/1.075, allocations: 0.5586 MB / 0.5737 GB, free: 3.805 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/1.075, allocations: 16 kB / 0.5737 GB, free: 3.789 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/1.075, allocations: 43.89 kB / 0.5738 GB, free: 3.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007693/1.076, allocations: 333.9 kB / 0.5741 GB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008682/1.077, allocations: 0.4943 MB / 0.5746 GB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/1.077, allocations: 4 kB / 0.5746 GB, free: 2.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/1.077, allocations: 0 / 0.5746 GB, free: 2.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/1.077, allocations: 15.94 kB / 0.5746 GB, free: 2.855 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004263/1.081, allocations: 2.581 MB / 0.5771 GB, free: 188 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008674/1.082, allocations: 463.8 kB / 0.5776 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/1.082, allocations: 190.5 kB / 0.5777 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.528e-05/1.082, allocations: 4 kB / 0.5777 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/1.082, allocations: 42.56 kB / 0.5778 GB, free: 15.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 3.176e-06/1.082, allocations: 0 / 0.5778 GB, free: 15.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.001554/1.084, allocations: 0.7757 MB / 0.5785 GB, free: 14.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/1.084, allocations: 144.5 kB / 0.5787 GB, free: 14.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000733/1.085, allocations: 499.8 kB / 0.5792 GB, free: 14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/1.085, allocations: 25.7 kB / 0.5792 GB, free: 13.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/1.085, allocations: 244.6 kB / 0.5794 GB, free: 13.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/1.085, allocations: 173.5 kB / 0.5796 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/1.085, allocations: 0 / 0.5796 GB, free: 13.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000209/1.085, allocations: 382.8 kB / 0.5799 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/1.086, allocations: 197.3 kB / 0.5801 GB, free: 12.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004693/1.086, allocations: 348.1 kB / 0.5805 GB, free: 12.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/1.087, allocations: 245.1 kB / 0.5807 GB, free: 12.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.087, allocations: 0 / 0.5807 GB, free: 12.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001077/1.088, allocations: 0.6312 MB / 0.5813 GB, free: 11.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006871/1.088, allocations: 1.739 MB / 0.583 GB, free: 9.816 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/1.088, allocations: 4 kB / 0.583 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/1.089, allocations: 8 kB / 0.583 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007919/1.089, allocations: 171.7 kB / 0.5832 GB, free: 9.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/1.089, allocations: 4 kB / 0.5832 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006605/1.09, allocations: 87.62 kB / 0.5833 GB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/1.09, allocations: 28 kB / 0.5833 GB, free: 9.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/1.09, allocations: 4 kB / 0.5833 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009563/1.091, allocations: 0.5071 MB / 0.5838 GB, free: 9.008 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.091, allocations: 4 kB / 0.5838 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/1.091, allocations: 11.91 kB / 0.5838 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000701/1.092, allocations: 160.3 kB / 0.584 GB, free: 8.836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/1.092, allocations: 15.92 kB / 0.584 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006127/1.092, allocations: 79.64 kB / 0.5841 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/1.093, allocations: 24 kB / 0.5841 GB, free: 8.719 MB / 426.7 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.000194/1.093, allocations: 118.2 kB / 0.5842 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/1.093, allocations: 75.06 kB / 0.5843 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/1.093, allocations: 81.86 kB / 0.5844 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/1.093, allocations: 8 kB / 0.5844 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.093, allocations: 7.875 kB / 0.5844 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/1.093, allocations: 3.906 kB / 0.5844 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/1.095, allocations: 0.7561 MB / 0.5851 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.095, allocations: 0 / 0.5851 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007463/1.095, allocations: 119.9 kB / 0.5852 GB, free: 7.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/1.095, allocations: 0 / 0.5852 GB, free: 7.492 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/1.095, allocations: 15.98 kB / 0.5852 GB, free: 7.477 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.095, allocations: 0 / 0.5852 GB, free: 7.477 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.095, allocations: 4 kB / 0.5852 GB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001248/1.097, allocations: 0.9684 MB / 0.5862 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001806/1.099, allocations: 1.595 MB / 0.5877 GB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/1.099, allocations: 196 kB / 0.5879 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/1.099, allocations: 8 kB / 0.5879 GB, free: 4.621 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000649/1.1, allocations: 59.94 kB / 0.588 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/1.1, allocations: 31.95 kB / 0.588 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/1.1, allocations: 19.98 kB / 0.588 GB, free: 4.512 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004823/1.1, allocations: 379.2 kB / 0.5884 GB, free: 4.148 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001975/1.102, allocations: 171.9 kB / 0.5886 GB, free: 3.98 MB / 426.7 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.0001972/1.102, allocations: 122.9 kB / 0.5887 GB, free: 3.852 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001435/1.104, allocations: 0.7865 MB / 0.5895 GB, free: 3.062 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.104, allocations: 0 / 0.5895 GB, free: 3.062 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003812/1.104, allocations: 222 kB / 0.5897 GB, free: 2.848 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009789/1.105, allocations: 151.5 kB / 0.5898 GB, free: 2.699 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/1.108, allocations: 1.196 MB / 0.591 GB, free: 1.461 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/1.109, allocations: 1.054 MB / 0.592 GB, free: 388 kB / 426.7 MB Notification: Performance of SimCode: time 6.02e-07/1.109, allocations: 7.875 kB / 0.592 GB, free: 380 kB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat