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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.747/1.747, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000857/0.0008572, allocations: 103.5 kB / 261.8 MB, free: 1.672 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.2069/0.2069, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.98e-05/1.973e-05, allocations: 4 kB / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4216/0.5385, allocations: 87.53 MB / 0.5515 GB, free: 7.273 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000172/0.5387, allocations: 64.88 kB / 0.5516 GB, free: 7.242 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02883/0.5676, allocations: 11.3 MB / 0.5626 GB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5676, allocations: 0 / 0.5626 GB, free: 14.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.665e-05/0.5677, allocations: 15.94 kB / 0.5626 GB, free: 14.05 MB / 378.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.001668/0.5693, allocations: 0.8898 MB / 0.5635 GB, free: 13.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.5694, allocations: 12.03 kB / 0.5635 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.5695, allocations: 67.25 kB / 0.5636 GB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/0.5701, allocations: 398.1 kB / 0.5639 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.5701, allocations: 16 kB / 0.564 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.038e-05/0.5702, allocations: 28 kB / 0.564 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000481/0.5707, allocations: 251.2 kB / 0.5642 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000643/0.5713, allocations: 432.5 kB / 0.5646 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.5714, allocations: 4 kB / 0.5646 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.5714, allocations: 0 / 0.5646 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.5714, allocations: 15.95 kB / 0.5647 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/0.5746, allocations: 1.843 MB / 0.5665 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/0.5752, allocations: 427.4 kB / 0.5669 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/0.5754, allocations: 195.8 kB / 0.5671 GB, free: 9.855 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.957e-05/0.5755, allocations: 12.92 kB / 0.5671 GB, free: 9.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.5755, allocations: 57.75 kB / 0.5671 GB, free: 9.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.013e-06/0.5756, allocations: 0 / 0.5671 GB, free: 9.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007067/0.5763, allocations: 332 kB / 0.5674 GB, free: 9.523 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/0.5764, allocations: 294.7 kB / 0.5677 GB, free: 9.168 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.5767, allocations: 277.7 kB / 0.568 GB, free: 8.941 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.5768, allocations: 29.73 kB / 0.568 GB, free: 8.906 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.577, allocations: 271.5 kB / 0.5683 GB, free: 8.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.5771, allocations: 156.3 kB / 0.5684 GB, free: 8.574 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.5771, allocations: 0 / 0.5684 GB, free: 8.574 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5773, allocations: 359.1 kB / 0.5688 GB, free: 8.234 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.5775, allocations: 110.1 kB / 0.5689 GB, free: 8.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.5778, allocations: 245.4 kB / 0.5691 GB, free: 7.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.578, allocations: 142.5 kB / 0.5692 GB, free: 7.832 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.578, allocations: 0 / 0.5692 GB, free: 7.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002169/0.5802, allocations: 0.818 MB / 0.57 GB, free: 7.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005131/0.5807, allocations: 1.307 MB / 0.5713 GB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.5807, allocations: 12.52 kB / 0.5713 GB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/0.582, allocations: 364.1 kB / 0.5717 GB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/0.5825, allocations: 107 kB / 0.5718 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005534/0.5881, allocations: 6.272 MB / 0.5779 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006139/0.5887, allocations: 111.6 kB / 0.578 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.996e-05/0.5888, allocations: 19.88 kB / 0.578 GB, free: 14.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.5888, allocations: 7.938 kB / 0.578 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/0.5898, allocations: 456.7 kB / 0.5785 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5898, allocations: 0 / 0.5785 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004223/0.5902, allocations: 128.3 kB / 0.5786 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007342/0.591, allocations: 199.6 kB / 0.5788 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/0.5941, allocations: 3.2 MB / 0.5819 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005507/0.5947, allocations: 92.09 kB / 0.582 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.5947, allocations: 23.92 kB / 0.582 GB, free: 10.97 MB / 394.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.0002511/0.595, allocations: 124.8 kB / 0.5821 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006302/0.5956, allocations: 337.1 kB / 0.5825 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.5958, allocations: 47.44 kB / 0.5825 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007025/0.5965, allocations: 391.2 kB / 0.5829 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.5965, allocations: 8 kB / 0.5829 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.5965, allocations: 0 / 0.5829 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.5966, allocations: 11.94 kB / 0.5829 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008123/0.5974, allocations: 425.7 kB / 0.5833 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.5974, allocations: 8.219 kB / 0.5833 GB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006863/0.5981, allocations: 150.8 kB / 0.5834 GB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.445e-05/0.5982, allocations: 20.84 kB / 0.5835 GB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.5982, allocations: 11.3 kB / 0.5835 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008826/0.5991, allocations: 1.242 MB / 0.5847 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.5991, allocations: 7.969 kB / 0.5847 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009844/0.6001, allocations: 1.115 MB / 0.5858 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.6003, allocations: 135.8 kB / 0.5859 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.6003, allocations: 4 kB / 0.5859 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006767/0.601, allocations: 79.92 kB / 0.586 GB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.6011, allocations: 43.27 kB / 0.586 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.6012, allocations: 15.86 kB / 0.5861 GB, free: 7.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002166/0.6014, allocations: 215.7 kB / 0.5863 GB, free: 6.859 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.763e-06/0.6014, allocations: 4.109 kB / 0.5863 GB, free: 6.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001217/0.6026, allocations: 187.3 kB / 0.5864 GB, free: 6.672 MB / 394.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.00143/0.6041, allocations: 2.089 MB / 0.5885 GB, free: 4.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003515/0.6076, allocations: 1.418 MB / 0.5899 GB, free: 3.398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6076, allocations: 0 / 0.5899 GB, free: 3.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.608, allocations: 279.8 kB / 0.5901 GB, free: 3.168 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009313/0.6089, allocations: 123 kB / 0.5903 GB, free: 3.074 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.6112, allocations: 0.982 MB / 0.5912 GB, free: 2.105 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.6116, allocations: 0.8753 MB / 0.5921 GB, free: 1.203 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003716/0.612, allocations: 89.2 kB / 0.5921 GB, free: 1.113 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.6122, allocations: 175.9 kB / 0.5923 GB, free: 1.066 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6122, allocations: 0 / 0.5923 GB, free: 1.066 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03352/0.6457, allocations: 12.69 MB / 0.6047 GB, free: 4.398 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/0.6461, allocations: 125.3 kB / 0.6048 GB, free: 4.207 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/3.218, allocations: 0 / 0.6048 GB, free: 4.207 MB / 410.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