Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_StrictLimiters",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.000965/0.000965, allocations: 95.89 kB / 15.68 MB, free: 488 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.001102/0.001102, allocations: 176.3 kB / 16.56 MB, free: 6.844 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.44/1.44, 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.3231/0.3231, allocations: 43.54 MB / 314.5 MB, free: 9.047 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.0005924/0.0005924, allocations: 18.97 kB / 384 MB, free: 8.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1072, allocations: 58.84 MB / 442.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003076/0.1103, allocations: 2.993 MB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.1123, allocations: 1.342 MB / 447.2 MB, free: 8.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.1126, allocations: 23.88 kB / 447.2 MB, free: 8.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.816e-05/0.1127, allocations: 47.39 kB / 447.2 MB, free: 8.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000446/0.1131, allocations: 175.3 kB / 447.4 MB, free: 8.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008616/0.114, allocations: 475.1 kB / 447.9 MB, free: 8.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008163/0.1148, allocations: 0.5863 MB / 448.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.1152, allocations: 236.4 kB / 448.7 MB, free: 7.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003619/0.1155, allocations: 290.7 kB / 449 MB, free: 7.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.1158, allocations: 282.3 kB / 449.2 MB, free: 6.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.1159, allocations: 20 kB / 449.3 MB, free: 6.754 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.546e-05/0.1159, allocations: 27.94 kB / 449.3 MB, free: 6.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.731e-05/0.116, allocations: 107.4 kB / 449.4 MB, free: 6.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.851e-05/0.1161, allocations: 145.2 kB / 449.5 MB, free: 6.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004484/0.1166, allocations: 0.5651 MB / 450.1 MB, free: 5.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.1166, allocations: 0 / 450.1 MB, free: 5.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1166, allocations: 0 / 450.1 MB, free: 5.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1166, allocations: 0 / 450.1 MB, free: 5.906 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001859/0.1185, allocations: 1.125 MB / 451.2 MB, free: 4.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.1185, allocations: 8.031 kB / 451.2 MB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.139e-05/0.1186, allocations: 90.52 kB / 451.3 MB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.1188, allocations: 98.83 kB / 451.4 MB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006903/0.1194, allocations: 0.542 MB / 452 MB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.1195, allocations: 37 kB / 452 MB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.434e-05/0.1196, allocations: 55.91 kB / 452.1 MB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.1209, allocations: 0.754 MB / 452.8 MB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1209, allocations: 7.938 kB / 452.8 MB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.121, allocations: 20 kB / 452.8 MB, free: 3.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.121, allocations: 12 kB / 452.8 MB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.1224, allocations: 0.6479 MB / 453.5 MB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1612/0.2836, allocations: 2.339 MB / 455.8 MB, free: 45.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.2853, allocations: 0.8203 MB / 456.7 MB, free: 45.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.2853, allocations: 9.469 kB / 456.7 MB, free: 45.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.2853, allocations: 42.19 kB / 456.7 MB, free: 45.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.134e-06/0.2853, allocations: 0 / 456.7 MB, free: 45.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.004/0.2893, allocations: 2.162 MB / 458.9 MB, free: 45.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.2894, allocations: 190.1 kB / 459.1 MB, free: 44.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/0.2899, allocations: 0.5763 MB / 459.6 MB, free: 44.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.2899, allocations: 39.23 kB / 459.7 MB, free: 44.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.2901, allocations: 357.3 kB / 460 MB, free: 44.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.114e-05/0.2902, allocations: 176 kB / 460.2 MB, free: 44.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.2902, allocations: 9.531 kB / 460.2 MB, free: 44.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.357e-05/0.2903, allocations: 330 kB / 460.5 MB, free: 44.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007101/0.291, allocations: 343.2 kB / 460.9 MB, free: 44.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007699/0.2918, allocations: 461 kB / 461.3 MB, free: 44.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007338/0.2925, allocations: 359.5 kB / 461.7 MB, free: 44.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2925, allocations: 0 / 461.7 MB, free: 44.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001631/0.2942, allocations: 0.8856 MB / 462.5 MB, free: 43.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.2943, allocations: 0.878 MB / 463.4 MB, free: 43.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2944, allocations: 6.781 kB / 463.4 MB, free: 43.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2944, allocations: 9.641 kB / 463.4 MB, free: 43.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007822/0.2952, allocations: 215.1 kB / 463.6 MB, free: 43.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.2952, allocations: 6.25 kB / 463.7 MB, free: 43.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.2957, allocations: 117.5 kB / 463.8 MB, free: 43.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.2957, allocations: 20.06 kB / 463.8 MB, free: 43.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.2958, allocations: 5.656 kB / 463.8 MB, free: 43.02 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00113/0.2969, allocations: 0.6072 MB / 464.4 MB, free: 42.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2969, allocations: 2.906 kB / 464.4 MB, free: 42.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-06/0.2969, allocations: 9.312 kB / 464.4 MB, free: 42.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.2975, allocations: 177.7 kB / 464.6 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2975, allocations: 11.3 kB / 464.6 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.2979, allocations: 72.31 kB / 464.7 MB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.298, allocations: 22.12 kB / 464.7 MB, free: 42.97 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002357/0.2982, allocations: 279.1 kB / 465 MB, free: 42.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.2983, allocations: 74.61 kB / 465 MB, free: 42.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.2985, allocations: 86.86 kB / 465.1 MB, free: 42.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2985, allocations: 3.25 kB / 465.1 MB, free: 42.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.2985, allocations: 3.219 kB / 465.1 MB, free: 42.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2985, allocations: 3.328 kB / 465.1 MB, free: 42.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002602/0.3011, allocations: 1.549 MB / 466.7 MB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3011, allocations: 4.062 kB / 466.7 MB, free: 42.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000671/0.3018, allocations: 174.6 kB / 466.9 MB, free: 42.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3018, allocations: 3.156 kB / 466.9 MB, free: 42.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.3019, allocations: 13.52 kB / 466.9 MB, free: 42.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.3019, allocations: 7.172 kB / 466.9 MB, free: 42.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3019, allocations: 0 / 466.9 MB, free: 42.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.3046, allocations: 1.442 MB / 468.3 MB, free: 41.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.3049, allocations: 187.5 kB / 468.5 MB, free: 41.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.198e-05/0.305, allocations: 10.41 kB / 468.5 MB, free: 41.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005626/0.3055, allocations: 110.2 kB / 468.6 MB, free: 41.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.3056, allocations: 45.36 kB / 468.7 MB, free: 41.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.3057, allocations: 16.55 kB / 468.7 MB, free: 41.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004579/0.3062, allocations: 400.3 kB / 469.1 MB, free: 41.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3062, allocations: 0 / 469.1 MB, free: 41.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007031/0.3069, allocations: 184.1 kB / 469.2 MB, free: 41.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (50): * Single equations (assignments): 50 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002803/0.3097, allocations: 2.208 MB / 471.5 MB, free: 40.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002275/0.312, allocations: 1.103 MB / 472.6 MB, free: 40.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.312, allocations: 4 kB / 472.6 MB, free: 40.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007957/0.3128, allocations: 402.9 kB / 473 MB, free: 40.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008769/0.3137, allocations: 175.6 kB / 473.1 MB, free: 40.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00808/0.3218, allocations: 6.197 MB / 479.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.3222, allocations: 0.944 MB / 480.3 MB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004025/0.3226, allocations: 91.66 kB / 480.4 MB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.3229, allocations: 279.6 kB / 480.6 MB, free: 35.62 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3229, allocations: 0 / 480.6 MB, free: 35.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/0.3539, allocations: 14.14 MB / 494.8 MB, free: 34.45 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001292/0.3541, allocations: 169.6 kB / 494.9 MB, free: 34.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/2.512, allocations: 1.938 kB / 494.9 MB, free: 34.2 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_StrictLimiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat