Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.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.LimitersHomotopy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimitersHomotopy",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.001272/0.001271, allocations: 187.1 kB / 7.801 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.574/1.574, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0009521/0.0009521, allocations: 99.25 kB / 261.4 MB, free: 13.53 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.2129/0.2129, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2335/0.4465, allocations: 64.97 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.8088, allocations: 58.83 MB / 476.6 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1416/0.9505, allocations: 87.47 MB / 0.5509 GB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.9509, allocations: 59.97 kB / 0.5509 GB, free: 11.39 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.03725/0.9881, allocations: 12.02 MB / 0.5627 GB, free: 15.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.9882, allocations: 8 kB / 0.5627 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.9885, allocations: 75.14 kB / 0.5628 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/0.9892, allocations: 393.8 kB / 0.5631 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.9893, allocations: 15.91 kB / 0.5632 GB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.9894, allocations: 28 kB / 0.5632 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006658/0.9901, allocations: 250 kB / 0.5634 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000842/0.9909, allocations: 422.7 kB / 0.5638 GB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.991, allocations: 3.938 kB / 0.5638 GB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.938e-05/0.991, allocations: 4 kB / 0.5638 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.9911, allocations: 8 kB / 0.5638 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003858/0.9949, allocations: 1.879 MB / 0.5657 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.9955, allocations: 423.2 kB / 0.5661 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.9958, allocations: 202 kB / 0.5663 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/0.9959, allocations: 4 kB / 0.5663 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.996, allocations: 46.5 kB / 0.5663 GB, free: 11.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.465e-06/0.996, allocations: 4 kB / 0.5663 GB, free: 11.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009291/0.9969, allocations: 329 kB / 0.5666 GB, free: 10.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001792/0.9971, allocations: 294.7 kB / 0.5669 GB, free: 10.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.9975, allocations: 277.1 kB / 0.5672 GB, free: 10.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/0.9975, allocations: 25.7 kB / 0.5672 GB, free: 10.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.9977, allocations: 220.5 kB / 0.5674 GB, free: 10.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.9978, allocations: 157.7 kB / 0.5676 GB, free: 9.926 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.9979, allocations: 0 / 0.5676 GB, free: 9.926 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.998, allocations: 358.8 kB / 0.5679 GB, free: 9.566 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.9983, allocations: 113.3 kB / 0.568 GB, free: 9.457 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.9986, allocations: 244.6 kB / 0.5682 GB, free: 9.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.9989, allocations: 139.8 kB / 0.5684 GB, free: 9.023 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.9989, allocations: 0 / 0.5684 GB, free: 9.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002602/1.002, allocations: 0.8214 MB / 0.5692 GB, free: 8.176 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000689/1.002, allocations: 1.312 MB / 0.5705 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.002, allocations: 8 kB / 0.5705 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/1.004, allocations: 376.8 kB / 0.5708 GB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/1.005, allocations: 115.8 kB / 0.5709 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007737/1.012, allocations: 6.353 MB / 0.5771 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007578/1.013, allocations: 123.5 kB / 0.5773 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/1.013, allocations: 19.98 kB / 0.5773 GB, free: 15.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.166e-06/1.013, allocations: 4 kB / 0.5773 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00119/1.014, allocations: 449.1 kB / 0.5777 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/1.014, allocations: 8.547 kB / 0.5777 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005249/1.015, allocations: 130.1 kB / 0.5778 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007988/1.016, allocations: 199.8 kB / 0.578 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003991/1.02, allocations: 3.225 MB / 0.5812 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006849/1.02, allocations: 99.53 kB / 0.5813 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/1.02, allocations: 24.06 kB / 0.5813 GB, free: 11.03 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin6.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin5.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin4.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin3.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin2.u:VARIABLE() "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: asin1.u:VARIABLE() "Connector of Real input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003465/1.021, allocations: 133.6 kB / 0.5814 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/1.021, allocations: 51.42 kB / 0.5815 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008839/1.022, allocations: 393.3 kB / 0.5819 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.022, allocations: 11.97 kB / 0.5819 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.022, allocations: 4 kB / 0.5819 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/1.022, allocations: 0 / 0.5819 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009179/1.023, allocations: 425.6 kB / 0.5823 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/1.023, allocations: 4.031 kB / 0.5823 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/1.024, allocations: 159.8 kB / 0.5824 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001052/1.024, allocations: 24.84 kB / 0.5825 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/1.024, allocations: 4 kB / 0.5825 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/1.025, allocations: 1.234 MB / 0.5837 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.025, allocations: 4.031 kB / 0.5837 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001258/1.026, allocations: 1.121 MB / 0.5848 GB, free: 7.246 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001834/1.028, allocations: 1.665 MB / 0.5864 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/1.028, allocations: 124.4 kB / 0.5865 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-05/1.028, allocations: 4 kB / 0.5865 GB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000777/1.029, allocations: 95.91 kB / 0.5866 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/1.029, allocations: 35.86 kB / 0.5866 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/1.029, allocations: 19.98 kB / 0.5867 GB, free: 5.223 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002848/1.03, allocations: 215.2 kB / 0.5869 GB, free: 5.016 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002408/1.032, allocations: 187.2 kB / 0.587 GB, free: 4.832 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (controllerFeedbackPart1.y,firstOrder1.y,controllerFeedbackPart2.y,firstOrder2.y,controllerFeedbackPart3.y,firstOrder3.y,controllerFeedbackPart4.y,firstOrder4.y,controllerFeedbackPart5.y,firstOrder5.y,controllerFeedbackPart6.y,firstOrder6.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002156/1.032, allocations: 115.6 kB / 0.5871 GB, free: 4.711 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004236/1.037, allocations: 1.413 MB / 0.5885 GB, free: 3.258 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.037, allocations: 4.562 kB / 0.5885 GB, free: 3.254 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004572/1.037, allocations: 266.4 kB / 0.5888 GB, free: 2.984 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000972/1.038, allocations: 123 kB / 0.5889 GB, free: 2.867 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/1.041, allocations: 0.9016 MB / 0.5898 GB, free: 1.922 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008233/1.041, allocations: 0.9261 MB / 0.5907 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/1.041, allocations: 4 kB / 0.5907 GB, free: 0.9609 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_LimitersHomotopy_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_LimitersHomotopy.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersHomotopy_res.mat does not exist to compare? outputFormat=mat