Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.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.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009706/0.0009706, allocations: 182.8 kB / 8.52 MB, free: 1.742 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.141/1.141, allocations: 221.4 MB / 230.3 MB, free: 7.641 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.0009095/0.0009095, allocations: 94.11 kB / 281.2 MB, free: 5.461 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.1616/0.1616, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1847/0.3463, allocations: 68.02 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.4476, allocations: 61.91 MB / 0.4942 GB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2691/0.7167, allocations: 88.47 MB / 0.5806 GB, free: 8.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.717, allocations: 61.97 kB / 0.5806 GB, free: 8.195 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.03381/0.7508, allocations: 12.07 MB / 0.5924 GB, free: 12.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.7509, allocations: 11.94 kB / 0.5924 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.7511, allocations: 67.25 kB / 0.5925 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/0.7516, allocations: 384.2 kB / 0.5929 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.7516, allocations: 12 kB / 0.5929 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-05/0.7517, allocations: 31.91 kB / 0.5929 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005319/0.7523, allocations: 253.9 kB / 0.5931 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.753, allocations: 418.8 kB / 0.5935 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.753, allocations: 7.984 kB / 0.5935 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/0.753, allocations: 4 kB / 0.5936 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.7531, allocations: 12 kB / 0.5936 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003313/0.7564, allocations: 1.859 MB / 0.5954 GB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006015/0.757, allocations: 418.3 kB / 0.5958 GB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.7573, allocations: 210.9 kB / 0.596 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.089e-05/0.7574, allocations: 15.97 kB / 0.596 GB, free: 8.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.7574, allocations: 46.5 kB / 0.596 GB, free: 8.082 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.104e-06/0.7574, allocations: 0 / 0.596 GB, free: 8.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007589/0.7582, allocations: 332.9 kB / 0.5964 GB, free: 7.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.7583, allocations: 290.7 kB / 0.5966 GB, free: 7.398 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.7586, allocations: 264.8 kB / 0.5969 GB, free: 7.137 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.7587, allocations: 29.7 kB / 0.5969 GB, free: 7.102 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.7588, allocations: 216.6 kB / 0.5971 GB, free: 6.883 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.7589, allocations: 153.7 kB / 0.5973 GB, free: 6.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.759, allocations: 0 / 0.5973 GB, free: 6.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.7591, allocations: 358.8 kB / 0.5976 GB, free: 6.371 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.7594, allocations: 109.3 kB / 0.5977 GB, free: 6.266 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.7597, allocations: 248.6 kB / 0.598 GB, free: 5.965 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.7599, allocations: 131.8 kB / 0.5981 GB, free: 5.836 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.7599, allocations: 4 kB / 0.5981 GB, free: 5.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002395/0.7623, allocations: 0.8331 MB / 0.5989 GB, free: 4.973 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005024/0.7628, allocations: 1.304 MB / 0.6002 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.7629, allocations: 3.938 kB / 0.6002 GB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.7643, allocations: 368.9 kB / 0.6005 GB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.7649, allocations: 111.9 kB / 0.6006 GB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006505/0.7714, allocations: 6.363 MB / 0.6068 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006764/0.7721, allocations: 115.5 kB / 0.607 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/0.7722, allocations: 20 kB / 0.607 GB, free: 12.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.7722, allocations: 4 kB / 0.607 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00114/0.7733, allocations: 461.6 kB / 0.6074 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.7734, allocations: 8.062 kB / 0.6074 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000518/0.7739, allocations: 133.5 kB / 0.6076 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008014/0.7747, allocations: 203.7 kB / 0.6077 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003672/0.7784, allocations: 3.21 MB / 0.6109 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005914/0.779, allocations: 95.69 kB / 0.611 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.7791, allocations: 20.31 kB / 0.611 GB, free: 7.859 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.0002737/0.7793, allocations: 134.4 kB / 0.6111 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.7796, allocations: 47.44 kB / 0.6112 GB, free: 7.676 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007878/0.7804, allocations: 385.2 kB / 0.6115 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.7804, allocations: 8 kB / 0.6115 GB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.7804, allocations: 0 / 0.6115 GB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.7804, allocations: 12.02 kB / 0.6115 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008546/0.7813, allocations: 425.6 kB / 0.612 GB, free: 6.816 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.7813, allocations: 0 / 0.612 GB, free: 6.816 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007813/0.7821, allocations: 159.7 kB / 0.6121 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.586e-05/0.7822, allocations: 24.78 kB / 0.6121 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.332e-05/0.7823, allocations: 8 kB / 0.6121 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008857/0.7831, allocations: 1.234 MB / 0.6133 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.7832, allocations: 7.922 kB / 0.6134 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001083/0.7843, allocations: 1.113 MB / 0.6144 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001519/0.7858, allocations: 1.661 MB / 0.6161 GB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.786, allocations: 128.4 kB / 0.6162 GB, free: 2.227 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.041e-05/0.786, allocations: 4 kB / 0.6162 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008024/0.7869, allocations: 95.92 kB / 0.6163 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.787, allocations: 35.88 kB / 0.6163 GB, free: 2.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.787, allocations: 16 kB / 0.6163 GB, free: 2.078 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002076/0.7872, allocations: 211.2 kB / 0.6165 GB, free: 1.871 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00242/0.7896, allocations: 191.2 kB / 0.6167 GB, free: 1.684 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.0001724/0.7898, allocations: 111.1 kB / 0.6168 GB, free: 1.562 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003646/0.7935, allocations: 1.421 MB / 0.6182 GB, free: 104 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.7935, allocations: 0 / 0.6182 GB, free: 104 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004018/0.7939, allocations: 274.4 kB / 0.6185 GB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008299/0.7948, allocations: 123.3 kB / 0.6186 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.797, allocations: 0.8861 MB / 0.6194 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000657/0.7976, allocations: 0.93 MB / 0.6204 GB, free: 13.81 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/0.7977, allocations: 0 / 0.6204 GB, free: 13.81 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_LimitersHomotopy_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_LimitersHomotopy.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersHomotopy_res.mat does not exist to compare? outputFormat=mat