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.0008135/0.0008135, allocations: 96.78 kB / 15.7 MB, free: 468 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.001045/0.001045, allocations: 176.8 kB / 16.58 MB, free: 5.664 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.497/1.497, allocations: 205.4 MB / 222.8 MB, free: 5.609 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.3347/0.3347, allocations: 43.55 MB / 314.6 MB, free: 8.793 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.0004844/0.0004844, allocations: 16 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.11, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimitersHomotopy): time 0.002913/0.113, allocations: 2.532 MB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1145, allocations: 0.9912 MB / 446.4 MB, free: 9.418 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.1147, allocations: 19.88 kB / 446.4 MB, free: 9.398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.268e-05/0.1148, allocations: 35.58 kB / 446.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.115, allocations: 67.36 kB / 446.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005917/0.1156, allocations: 303.5 kB / 446.8 MB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000484/0.1161, allocations: 0.5114 MB / 447.3 MB, free: 8.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.1164, allocations: 193 kB / 447.5 MB, free: 8.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.1166, allocations: 179.2 kB / 447.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1168, allocations: 210.8 kB / 447.9 MB, free: 7.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.178e-05/0.1169, allocations: 20 kB / 447.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.3e-05/0.1169, allocations: 16 kB / 447.9 MB, free: 7.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.896e-05/0.117, allocations: 87.59 kB / 448 MB, free: 7.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.73e-05/0.1171, allocations: 105.3 kB / 448.1 MB, free: 7.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.1174, allocations: 359.3 kB / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1175, allocations: 0 / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1175, allocations: 0 / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1175, allocations: 0 / 448.5 MB, free: 7.332 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.001534/0.119, allocations: 0.9235 MB / 449.4 MB, free: 6.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1191, allocations: 12.03 kB / 449.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.519e-05/0.1192, allocations: 86.45 kB / 449.5 MB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.643e-05/0.1193, allocations: 71.2 kB / 449.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.1198, allocations: 388.8 kB / 449.9 MB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.1198, allocations: 33 kB / 450 MB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.48e-05/0.1199, allocations: 55.91 kB / 450 MB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.1212, allocations: 0.6605 MB / 450.7 MB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1212, allocations: 0 / 450.7 MB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.1213, allocations: 20 kB / 450.7 MB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.1213, allocations: 11.98 kB / 450.7 MB, free: 4.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.1228, allocations: 0.6244 MB / 451.3 MB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.1254, allocations: 1.82 MB / 453.2 MB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.1269, allocations: 0.6933 MB / 453.8 MB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008366/0.1278, allocations: 369.8 kB / 454.2 MB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-05/0.1278, allocations: 7.984 kB / 454.2 MB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.1279, allocations: 62.44 kB / 454.3 MB, free: 1.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 1.663e-06/0.1279, allocations: 0 / 454.3 MB, free: 1.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.002414/0.1303, allocations: 0.9066 MB / 455.2 MB, free: 284 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1936/0.3239, allocations: 294.7 kB / 455.5 MB, free: 46.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.3244, allocations: 355.2 kB / 455.8 MB, free: 45.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.3245, allocations: 38.02 kB / 455.9 MB, free: 45.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.3247, allocations: 263.7 kB / 456.1 MB, free: 45.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.984e-05/0.3248, allocations: 162 kB / 456.3 MB, free: 45.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.3248, allocations: 8.594 kB / 456.3 MB, free: 45.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.3249, allocations: 359.7 kB / 456.6 MB, free: 45.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006968/0.3256, allocations: 277.7 kB / 456.9 MB, free: 45.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007018/0.3263, allocations: 413 kB / 457.3 MB, free: 45.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/0.327, allocations: 303.3 kB / 457.6 MB, free: 45.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.327, allocations: 0 / 457.6 MB, free: 45.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003007/0.33, allocations: 1.248 MB / 458.9 MB, free: 45.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.084e-05/0.3301, allocations: 195.9 kB / 459 MB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3301, allocations: 3.703 kB / 459 MB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/0.3317, allocations: 488.1 kB / 459.5 MB, free: 44.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.3321, allocations: 120.8 kB / 459.6 MB, free: 44.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009988/0.3421, allocations: 11.94 MB / 471.6 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005382/0.3427, allocations: 116.3 kB / 471.7 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.3427, allocations: 21.09 kB / 471.7 MB, free: 35.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.3427, allocations: 5.938 kB / 471.7 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001794/0.3445, allocations: 0.7578 MB / 472.5 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3446, allocations: 3.094 kB / 472.5 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000551/0.3451, allocations: 169.8 kB / 472.6 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/0.3458, allocations: 194.2 kB / 472.8 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00311/0.3489, allocations: 3.522 MB / 476.4 MB, free: 32.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.3493, allocations: 105.6 kB / 476.5 MB, free: 32.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.3493, allocations: 19.66 kB / 476.5 MB, free: 32.4 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.0002549/0.3496, allocations: 251.1 kB / 476.7 MB, free: 32.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.3498, allocations: 49.52 kB / 476.8 MB, free: 32.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.3514, allocations: 0.7148 MB / 477.5 MB, free: 32.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3514, allocations: 6.594 kB / 477.5 MB, free: 32.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3514, allocations: 0 / 477.5 MB, free: 32.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.3514, allocations: 6.953 kB / 477.5 MB, free: 32.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007561/0.3522, allocations: 0.4928 MB / 478 MB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3522, allocations: 4.5 kB / 478 MB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005807/0.3528, allocations: 149.4 kB / 478.1 MB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.23e-05/0.3529, allocations: 20.36 kB / 478.2 MB, free: 31.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.3529, allocations: 13.44 kB / 478.2 MB, free: 31.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005371/0.3535, allocations: 1.298 MB / 479.5 MB, free: 30.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3535, allocations: 3.312 kB / 479.5 MB, free: 30.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.3557, allocations: 1.535 MB / 481 MB, free: 29.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.3557, allocations: 131.6 kB / 481.1 MB, free: 29.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.3558, allocations: 7.219 kB / 481.1 MB, free: 29.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005947/0.3564, allocations: 100.6 kB / 481.2 MB, free: 29.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.3565, allocations: 43.98 kB / 481.3 MB, free: 29.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.3565, allocations: 15.39 kB / 481.3 MB, free: 29.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.3567, allocations: 244.1 kB / 481.5 MB, free: 29.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3567, allocations: 0 / 481.5 MB, free: 29.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001323/0.358, allocations: 227.1 kB / 481.8 MB, free: 29.49 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.002339/0.3604, allocations: 2.091 MB / 483.9 MB, free: 28.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00496/0.3654, allocations: 2.5 MB / 486.4 MB, free: 26.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.3654, allocations: 3.938 kB / 486.4 MB, free: 26.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008069/0.3662, allocations: 452.3 kB / 486.8 MB, free: 26.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.3674, allocations: 122 kB / 486.9 MB, free: 26.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007478/0.3749, allocations: 4.008 MB / 490.9 MB, free: 24.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.3753, allocations: 0.8698 MB / 491.8 MB, free: 24.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003133/0.3756, allocations: 64.22 kB / 491.9 MB, free: 24.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.3759, allocations: 183.7 kB / 492 MB, free: 23.96 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3759, allocations: 0 / 492 MB, free: 23.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03167/0.4075, allocations: 13.79 MB / 0.494 GB, free: 22 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/0.4077, allocations: 201.9 kB / 0.4942 GB, free: 21.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/2.723, allocations: 0 / 0.4942 GB, free: 21.76 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