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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 96.83 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 173 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.326/0.326, allocations: 43.54 MB / 314.5 MB, free: 8.762 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005918/0.0005919, allocations: 18.97 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1103, allocations: 58.86 MB / 442.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.002913/0.1133, allocations: 2.514 MB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1148, allocations: 0.9835 MB / 446.3 MB, free: 9.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.115, allocations: 19.88 kB / 446.4 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.147e-05/0.115, allocations: 35.58 kB / 446.4 MB, free: 9.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.1152, allocations: 83.66 kB / 446.5 MB, free: 9.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.1158, allocations: 299.4 kB / 446.8 MB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000416/0.1163, allocations: 364.5 kB / 447.1 MB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.1165, allocations: 185 kB / 447.3 MB, free: 8.477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.1167, allocations: 179.2 kB / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.117, allocations: 214.8 kB / 447.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.117, allocations: 16 kB / 447.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.458e-05/0.1171, allocations: 20 kB / 447.7 MB, free: 8.055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.097e-05/0.1171, allocations: 83.59 kB / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.1172, allocations: 105.4 kB / 447.9 MB, free: 7.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.1175, allocations: 347.4 kB / 448.3 MB, free: 7.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.1175, allocations: 0 / 448.3 MB, free: 7.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1175, allocations: 0 / 448.3 MB, free: 7.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1176, allocations: 0 / 448.3 MB, free: 7.523 MB / 382.1 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.001538/0.1191, allocations: 0.9351 MB / 449.2 MB, free: 6.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1191, allocations: 8.031 kB / 449.2 MB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.108e-05/0.1192, allocations: 78.53 kB / 449.3 MB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.556e-05/0.1193, allocations: 79.19 kB / 449.4 MB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.1198, allocations: 380.8 kB / 449.7 MB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.1198, allocations: 41 kB / 449.8 MB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.071e-05/0.1199, allocations: 55.89 kB / 449.8 MB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.1212, allocations: 0.6567 MB / 450.5 MB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1212, allocations: 0 / 450.5 MB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.1212, allocations: 16 kB / 450.5 MB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.1213, allocations: 12 kB / 450.5 MB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.1229, allocations: 0.6205 MB / 451.1 MB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/0.1253, allocations: 1.84 MB / 453 MB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.127, allocations: 0.6895 MB / 453.7 MB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.207e-05/0.1271, allocations: 12.92 kB / 453.7 MB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1271, allocations: 46.45 kB / 453.7 MB, free: 1.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 1.543e-06/0.1271, allocations: 0 / 453.7 MB, free: 1.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.00255/0.1297, allocations: 0.92 MB / 454.6 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.1298, allocations: 294.7 kB / 454.9 MB, free: 496 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.1301, allocations: 354 kB / 455.3 MB, free: 136 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.1302, allocations: 37.69 kB / 455.3 MB, free: 92 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.193/0.3232, allocations: 259.6 kB / 455.6 MB, free: 45.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.3234, allocations: 159.5 kB / 455.7 MB, free: 45.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.3234, allocations: 10.41 kB / 455.7 MB, free: 45.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.3235, allocations: 360.7 kB / 456.1 MB, free: 45.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008111/0.3243, allocations: 277.4 kB / 456.3 MB, free: 45.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007688/0.3251, allocations: 416.7 kB / 456.7 MB, free: 45.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000731/0.3258, allocations: 300.4 kB / 457 MB, free: 45.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3259, allocations: 0 / 457 MB, free: 45.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003314/0.3292, allocations: 1.253 MB / 458.3 MB, free: 45.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001919/0.3294, allocations: 1.313 MB / 459.6 MB, free: 43.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3294, allocations: 2.531 kB / 459.6 MB, free: 43.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001672/0.3311, allocations: 488.4 kB / 460.1 MB, free: 43.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.3316, allocations: 115.2 kB / 460.2 MB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/0.3427, allocations: 12.07 MB / 472.3 MB, free: 34.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006628/0.3434, allocations: 119.3 kB / 472.4 MB, free: 34.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.3435, allocations: 18.72 kB / 472.4 MB, free: 34.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.3435, allocations: 13.48 kB / 472.4 MB, free: 34.25 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002186/0.3457, allocations: 0.7552 MB / 473.2 MB, free: 34.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3457, allocations: 3.125 kB / 473.2 MB, free: 34.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/0.3464, allocations: 162 kB / 473.3 MB, free: 34.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000687/0.3471, allocations: 196.8 kB / 473.5 MB, free: 34.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003522/0.3506, allocations: 3.568 MB / 477.1 MB, free: 31.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/0.3511, allocations: 106.1 kB / 477.2 MB, free: 31.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.3512, allocations: 23.17 kB / 477.2 MB, free: 31.38 MB / 382.1 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.0003508/0.3515, allocations: 239 kB / 477.5 MB, free: 31.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.3517, allocations: 52.52 kB / 477.5 MB, free: 31.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.3536, allocations: 0.7226 MB / 478.2 MB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3536, allocations: 6.531 kB / 478.2 MB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3536, allocations: 7.219 kB / 478.2 MB, free: 31.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3536, allocations: 3.75 kB / 478.2 MB, free: 31.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008233/0.3545, allocations: 0.4915 MB / 478.7 MB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3545, allocations: 0 / 478.7 MB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006363/0.3551, allocations: 147.2 kB / 478.9 MB, free: 30.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.59e-05/0.3552, allocations: 20.69 kB / 478.9 MB, free: 30.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.3553, allocations: 19.89 kB / 478.9 MB, free: 30.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006784/0.356, allocations: 1.31 MB / 480.2 MB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.356, allocations: 3.188 kB / 480.2 MB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.3585, allocations: 1.607 MB / 481.8 MB, free: 28.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.91e-05/0.3586, allocations: 125.5 kB / 482 MB, free: 28.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.725e-05/0.3586, allocations: 11.22 kB / 482 MB, free: 28.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006412/0.3593, allocations: 95.8 kB / 482.1 MB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/0.3594, allocations: 43.98 kB / 482.1 MB, free: 28.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.3594, allocations: 17.14 kB / 482.1 MB, free: 28.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.3596, allocations: 243.7 kB / 482.4 MB, free: 28.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3596, allocations: 0 / 482.4 MB, free: 28.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001379/0.361, allocations: 220.3 kB / 482.6 MB, free: 28.31 MB / 382.1 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.002747/0.3638, allocations: 2.565 MB / 485.1 MB, free: 26.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005587/0.3694, allocations: 2.504 MB / 487.6 MB, free: 25.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.3694, allocations: 3.375 kB / 487.7 MB, free: 25.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009426/0.3704, allocations: 449.4 kB / 488.1 MB, free: 25.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009284/0.3713, allocations: 121.4 kB / 488.2 MB, free: 24.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007751/0.3791, allocations: 6.108 MB / 494.3 MB, free: 21.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.3794, allocations: 0.8817 MB / 495.2 MB, free: 20.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002643/0.3797, allocations: 58.55 kB / 495.3 MB, free: 20.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.3799, allocations: 186.5 kB / 495.4 MB, free: 20.16 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3799, allocations: 0 / 495.4 MB, free: 20.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07095/0.4509, allocations: 13.77 MB / 0.4973 GB, free: 18.22 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/0.4511, allocations: 197.1 kB / 0.4975 GB, free: 17.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/2.782, allocations: 0 / 0.4975 GB, free: 17.98 MB / 382.1 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) Environment - environmentSimulation: 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