Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.2 MB / 245 MB, free: 7.664 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008909/0.0008907, allocations: 98.59 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3923/0.3923, allocations: 45.23 MB / 394.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002763, allocations: 8.219 kB / 468.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4743, allocations: 63.24 MB / 0.5193 GB, free: 43.78 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.6552, allocations: 90.36 MB / 0.6075 GB, free: 15.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.6555, allocations: 67.94 kB / 0.6076 GB, free: 15.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03542/0.691, allocations: 11.33 MB / 0.6186 GB, free: 3.844 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.691, allocations: 0 / 0.6186 GB, free: 3.844 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.082e-05/0.6911, allocations: 23.92 kB / 0.6186 GB, free: 3.82 MB / 426.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.002012/0.6931, allocations: 0.9286 MB / 0.6196 GB, free: 2.844 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.954e-05/0.6932, allocations: 12.03 kB / 0.6196 GB, free: 2.832 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/0.6934, allocations: 86.52 kB / 0.6197 GB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004124/0.6938, allocations: 79.19 kB / 0.6197 GB, free: 2.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007404/0.6945, allocations: 385.8 kB / 0.6201 GB, free: 2.242 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.767e-05/0.6946, allocations: 37 kB / 0.6201 GB, free: 2.207 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.721e-05/0.6947, allocations: 51.91 kB / 0.6202 GB, free: 2.156 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.6961, allocations: 0.6489 MB / 0.6208 GB, free: 1.465 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.6961, allocations: 4 kB / 0.6208 GB, free: 1.461 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.333e-05/0.6962, allocations: 23.95 kB / 0.6208 GB, free: 1.438 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.6962, allocations: 15.94 kB / 0.6209 GB, free: 1.422 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.6984, allocations: 0.6127 MB / 0.6215 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003795/0.7022, allocations: 1.941 MB / 0.6233 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.7038, allocations: 0.6855 MB / 0.624 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.456e-05/0.7039, allocations: 8.938 kB / 0.624 GB, free: 14.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.704, allocations: 50.48 kB / 0.6241 GB, free: 13.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.907e-06/0.704, allocations: 0 / 0.6241 GB, free: 13.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=43): time 0.002743/0.7067, allocations: 0.9153 MB / 0.625 GB, free: 13.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001656/0.7069, allocations: 294.7 kB / 0.6252 GB, free: 12.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.7072, allocations: 300.8 kB / 0.6255 GB, free: 12.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/0.7073, allocations: 33.7 kB / 0.6256 GB, free: 12.35 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.7075, allocations: 264.1 kB / 0.6258 GB, free: 12.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.7077, allocations: 165.6 kB / 0.626 GB, free: 11.92 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.7077, allocations: 8 kB / 0.626 GB, free: 11.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.7079, allocations: 354.8 kB / 0.6263 GB, free: 11.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007502/0.7086, allocations: 272.9 kB / 0.6266 GB, free: 11.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009167/0.7096, allocations: 412.8 kB / 0.627 GB, free: 10.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007779/0.7103, allocations: 295.7 kB / 0.6273 GB, free: 10.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7104, allocations: 0 / 0.6273 GB, free: 10.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003611/0.714, allocations: 1.231 MB / 0.6285 GB, free: 9.289 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006068/0.7146, allocations: 1.304 MB / 0.6297 GB, free: 7.883 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.7146, allocations: 4 kB / 0.6297 GB, free: 7.879 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/0.7165, allocations: 496.6 kB / 0.6302 GB, free: 7.375 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.7171, allocations: 115.8 kB / 0.6303 GB, free: 7.262 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007716/0.7248, allocations: 6.726 MB / 0.6369 GB, free: 144 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006967/0.7255, allocations: 116.3 kB / 0.637 GB, free: 28 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.7256, allocations: 23.98 kB / 0.637 GB, free: 4 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.7256, allocations: 4 kB / 0.637 GB, free: 0 / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00211/0.7277, allocations: 0.755 MB / 0.6378 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.7278, allocations: 4.25 kB / 0.6378 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000642/0.7284, allocations: 181.5 kB / 0.6379 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008821/0.7293, allocations: 195.7 kB / 0.6381 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004361/0.7337, allocations: 3.564 MB / 0.6416 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005596/0.7342, allocations: 103.5 kB / 0.6417 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.7343, allocations: 23.95 kB / 0.6417 GB, free: 10.9 MB / 458.7 MB 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 () * Number of clocked 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 {2 4,2 4,2 4,2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004036/0.7347, allocations: 241.6 kB / 0.642 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.7349, allocations: 55.38 kB / 0.642 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.7368, allocations: 0.7158 MB / 0.6427 GB, free: 9.871 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.7369, allocations: 8 kB / 0.6427 GB, free: 9.863 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7369, allocations: 3.953 kB / 0.6427 GB, free: 9.859 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.7369, allocations: 4 kB / 0.6427 GB, free: 9.855 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009376/0.7378, allocations: 493 kB / 0.6432 GB, free: 9.324 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.7378, allocations: 0 / 0.6432 GB, free: 9.324 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000701/0.7385, allocations: 151.8 kB / 0.6433 GB, free: 9.176 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-05/0.7386, allocations: 24.84 kB / 0.6434 GB, free: 9.148 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.7387, allocations: 11.98 kB / 0.6434 GB, free: 9.137 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.7397, allocations: 1.312 MB / 0.6447 GB, free: 7.691 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.7398, allocations: 8.234 kB / 0.6447 GB, free: 7.684 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/0.7425, allocations: 1.585 MB / 0.6462 GB, free: 6.035 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.7426, allocations: 124.4 kB / 0.6463 GB, free: 5.895 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.7427, allocations: 23.95 kB / 0.6464 GB, free: 5.871 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00069/0.7434, allocations: 87.91 kB / 0.6464 GB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.7435, allocations: 39.89 kB / 0.6465 GB, free: 5.746 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.7436, allocations: 23.98 kB / 0.6465 GB, free: 5.723 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002542/0.7438, allocations: 231.2 kB / 0.6467 GB, free: 5.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7439, allocations: 0 / 0.6467 GB, free: 5.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001167/0.745, allocations: 215.3 kB / 0.6469 GB, free: 5.289 MB / 458.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 () * Number of clocked 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.003354/0.7484, allocations: 2.579 MB / 0.6494 GB, free: 2.656 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005655/0.7541, allocations: 2.027 MB / 0.6514 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.7541, allocations: 0 / 0.6514 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009591/0.755, allocations: 450.4 kB / 0.6519 GB, free: 128 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008542/0.7559, allocations: 116.8 kB / 0.652 GB, free: 16 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009277/0.7652, allocations: 6.012 MB / 0.6578 GB, free: 9.848 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/0.7658, allocations: 0.8706 MB / 0.6587 GB, free: 8.949 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003527/0.7662, allocations: 55.2 kB / 0.6587 GB, free: 8.898 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.7664, allocations: 171.4 kB / 0.6589 GB, free: 8.734 MB / 474.7 MB Notification: Performance of SimCode: time 1.252e-06/0.7664, allocations: 0 / 0.6589 GB, free: 8.734 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04341/0.8099, allocations: 12.83 MB / 0.6714 GB, free: 12.11 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003461/0.8103, allocations: 196 kB / 0.6716 GB, free: 11.87 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.393, allocations: 0 / 0.6716 GB, free: 11.87 MB / 490.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_LimitersHomotopy.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.LimitersHomotopy_res.mat does not exist to compare? outputFormat=mat