Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Blocks_LimitersHomotopy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimitersHomotopy,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001046/0.001047, allocations: 175.5 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0006953/0.0006952, allocations: 85.42 kB / 271.2 MB, free: 8.246 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.2771/0.2771, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003898, allocations: 12 kB / 432.1 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09794/0.09835, allocations: 58.85 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.002549/0.1009, allocations: 2.532 MB / 493.5 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1024, allocations: 1.011 MB / 494.5 MB, free: 7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.1026, allocations: 15.94 kB / 494.5 MB, free: 6.984 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.253e-05/0.1027, allocations: 39.52 kB / 494.5 MB, free: 6.945 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.1029, allocations: 63.38 kB / 494.6 MB, free: 6.883 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.1034, allocations: 287.6 kB / 494.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.1039, allocations: 0.5192 MB / 495.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.1042, allocations: 215.8 kB / 495.6 MB, free: 5.871 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.1044, allocations: 183.2 kB / 495.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.1046, allocations: 206.8 kB / 496 MB, free: 5.488 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.139e-05/0.1046, allocations: 20 kB / 496 MB, free: 5.469 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.515e-05/0.1047, allocations: 16 kB / 496 MB, free: 5.453 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.966e-05/0.1048, allocations: 95.58 kB / 496.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.1049, allocations: 224.4 kB / 496.3 MB, free: 5.133 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.1052, allocations: 359.4 kB / 496.7 MB, free: 4.781 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1052, allocations: 4 kB / 496.7 MB, free: 4.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1052, allocations: 0 / 496.7 MB, free: 4.777 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.872e-06/0.1053, allocations: 0 / 496.7 MB, free: 4.777 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.001531/0.1068, allocations: 0.9158 MB / 497.6 MB, free: 3.809 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1068, allocations: 11.97 kB / 497.6 MB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.226e-05/0.1069, allocations: 82.72 kB / 497.7 MB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.519e-05/0.107, allocations: 68.19 kB / 497.7 MB, free: 3.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.1074, allocations: 405.6 kB / 498.1 MB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.1075, allocations: 41.36 kB / 498.2 MB, free: 3.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.809e-05/0.1076, allocations: 52.28 kB / 498.2 MB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.1088, allocations: 0.6646 MB / 498.9 MB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1088, allocations: 0 / 498.9 MB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.1089, allocations: 20 kB / 498.9 MB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.1089, allocations: 12 kB / 498.9 MB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.1105, allocations: 0.6201 MB / 499.5 MB, free: 1.758 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1631/0.2736, allocations: 1.825 MB / 0.4896 GB, free: 42.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.2753, allocations: 0.69 MB / 0.4903 GB, free: 42.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008427/0.2761, allocations: 371.5 kB / 0.4907 GB, free: 42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.402e-05/0.2762, allocations: 11.61 kB / 0.4907 GB, free: 42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.2763, allocations: 48.98 kB / 0.4907 GB, free: 41.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.986e-06/0.2763, allocations: 0 / 0.4907 GB, free: 41.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002652/0.2789, allocations: 0.9095 MB / 0.4916 GB, free: 41.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.279, allocations: 299.3 kB / 0.4919 GB, free: 41.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.2793, allocations: 352.6 kB / 0.4922 GB, free: 41.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.2794, allocations: 36.27 kB / 0.4923 GB, free: 41.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.2795, allocations: 264.8 kB / 0.4925 GB, free: 41.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.2796, allocations: 162.5 kB / 0.4927 GB, free: 41.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.2797, allocations: 10.12 kB / 0.4927 GB, free: 41.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.045e-05/0.2798, allocations: 366.2 kB / 0.493 GB, free: 40.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/0.2805, allocations: 276.8 kB / 0.4933 GB, free: 40.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008074/0.2813, allocations: 412.3 kB / 0.4937 GB, free: 40.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.2829, allocations: 0.6553 MB / 0.4943 GB, free: 40.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2829, allocations: 6.188 kB / 0.4943 GB, free: 40.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003507/0.2864, allocations: 1.251 MB / 0.4955 GB, free: 40.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.725e-05/0.2865, allocations: 183.7 kB / 0.4957 GB, free: 40.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.2865, allocations: 6.75 kB / 0.4957 GB, free: 40.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001775/0.2883, allocations: 491.8 kB / 0.4962 GB, free: 40.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/0.2888, allocations: 115.6 kB / 0.4963 GB, free: 40.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.2991, allocations: 11.95 MB / 0.508 GB, free: 30.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.2997, allocations: 123.8 kB / 0.5081 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.2997, allocations: 17.94 kB / 0.5081 GB, free: 30.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.352e-06/0.2997, allocations: 9.375 kB / 0.5081 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001832/0.3016, allocations: 0.7608 MB / 0.5089 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3016, allocations: 3.094 kB / 0.5089 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005184/0.3021, allocations: 163.5 kB / 0.509 GB, free: 30.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006528/0.3028, allocations: 196.4 kB / 0.5092 GB, free: 30.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003279/0.306, allocations: 3.53 MB / 0.5127 GB, free: 27.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004269/0.3065, allocations: 101.3 kB / 0.5128 GB, free: 27.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.3065, allocations: 20.58 kB / 0.5128 GB, free: 27.26 MB / 378.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.0002003/0.3067, allocations: 243.4 kB / 0.513 GB, free: 27.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.3069, allocations: 48.84 kB / 0.513 GB, free: 27.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.3086, allocations: 0.7188 MB / 0.5138 GB, free: 26.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.3086, allocations: 8.781 kB / 0.5138 GB, free: 26.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.3086, allocations: 0 / 0.5138 GB, free: 26.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.3086, allocations: 6.812 kB / 0.5138 GB, free: 26.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007336/0.3094, allocations: 0.5023 MB / 0.5143 GB, free: 26.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3094, allocations: 0 / 0.5143 GB, free: 26.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000608/0.31, allocations: 150.3 kB / 0.5144 GB, free: 26.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.196e-05/0.3101, allocations: 18.14 kB / 0.5144 GB, free: 26.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.3101, allocations: 15.28 kB / 0.5144 GB, free: 26.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005113/0.3106, allocations: 1.303 MB / 0.5157 GB, free: 25.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3107, allocations: 3.469 kB / 0.5157 GB, free: 25.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.3129, allocations: 1.526 MB / 0.5172 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.313, allocations: 125.1 kB / 0.5173 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/0.313, allocations: 18.44 kB / 0.5173 GB, free: 24.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006205/0.3137, allocations: 86.11 kB / 0.5174 GB, free: 24.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.757e-05/0.3138, allocations: 41.83 kB / 0.5175 GB, free: 24.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.3138, allocations: 17.11 kB / 0.5175 GB, free: 24.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.314, allocations: 240.4 kB / 0.5177 GB, free: 23.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.314, allocations: 0 / 0.5177 GB, free: 23.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001072/0.3151, allocations: 232.5 kB / 0.5179 GB, free: 23.93 MB / 378.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.002401/0.3175, allocations: 2.083 MB / 0.52 GB, free: 22.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004811/0.3223, allocations: 2.503 MB / 0.5224 GB, free: 21.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3223, allocations: 0 / 0.5224 GB, free: 21.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008004/0.3231, allocations: 452.2 kB / 0.5228 GB, free: 21.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.3242, allocations: 132.7 kB / 0.523 GB, free: 21.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0067/0.3309, allocations: 4.045 MB / 0.5269 GB, free: 19.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.3312, allocations: 0.8703 MB / 0.5278 GB, free: 18.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.3314, allocations: 186.4 kB / 0.5279 GB, free: 18.36 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3314, allocations: 0 / 0.5279 GB, free: 18.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.663/3.995, allocations: 14.75 MB / 0.5423 GB, free: 15.12 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_LimitersHomotopy_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_LimitersHomotopy.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimitersHomotopy_res.mat does not exist to compare? outputFormat=mat