Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.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/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR",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.001108/0.001108, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008198/0.0008198, allocations: 90.02 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06316/0.06316, allocations: 12.19 MB / 321.5 MB, free: 1.207 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2791/0.2791, allocations: 78.07 MB / 450.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.524e-05/1.525e-05, allocations: 4 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 69.24 MB / 0.5819 GB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3547/0.4602, allocations: 99.63 MB / 0.6791 GB, free: 8.902 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.4604, allocations: 76.95 kB / 0.6792 GB, free: 8.863 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05489/0.5153, allocations: 23.71 MB / 0.7024 GB, free: 5.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5154, allocations: 3.938 kB / 0.7024 GB, free: 5.406 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.933e-05/0.5154, allocations: 20 kB / 0.7024 GB, free: 5.387 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004062/0.5195, allocations: 1.687 MB / 0.704 GB, free: 3.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.5195, allocations: 8.031 kB / 0.7041 GB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002975/0.5225, allocations: 0.5448 MB / 0.7046 GB, free: 3.262 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.5238, allocations: 0.7233 MB / 0.7053 GB, free: 2.641 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.524, allocations: 236.2 kB / 0.7055 GB, free: 2.371 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.5242, allocations: 43.75 kB / 0.7056 GB, free: 2.332 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0012/0.5254, allocations: 0.7728 MB / 0.7063 GB, free: 1.867 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.5266, allocations: 0.817 MB / 0.7071 GB, free: 1.305 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.5267, allocations: 0 / 0.7071 GB, free: 1.305 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.5267, allocations: 3.984 kB / 0.7071 GB, free: 1.301 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.5268, allocations: 16 kB / 0.7071 GB, free: 1.285 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005313/0.5321, allocations: 3.403 MB / 0.7105 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.5336, allocations: 1.241 MB / 0.7117 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006682/0.5343, allocations: 0.5526 MB / 0.7122 GB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.5344, allocations: 12.77 kB / 0.7122 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.5344, allocations: 42.16 kB / 0.7123 GB, free: 13.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=90): time 2.254e-06/0.5344, allocations: 0 / 0.7123 GB, free: 13.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=90): time 0.0114/0.5458, allocations: 3.965 MB / 0.7161 GB, free: 9.824 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.5459, allocations: 85.89 kB / 0.7162 GB, free: 9.719 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007571/0.5467, allocations: 0.6284 MB / 0.7168 GB, free: 9.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.5468, allocations: 25.7 kB / 0.7168 GB, free: 9.199 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.547, allocations: 463.6 kB / 0.7173 GB, free: 8.934 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.5473, allocations: 307.2 kB / 0.7176 GB, free: 8.664 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.5474, allocations: 0 / 0.7176 GB, free: 8.664 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.25e-05/0.5475, allocations: 335.9 kB / 0.7179 GB, free: 8.344 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/0.5481, allocations: 430.9 kB / 0.7183 GB, free: 8.121 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/0.5487, allocations: 0.5325 MB / 0.7188 GB, free: 7.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006254/0.5494, allocations: 472.3 kB / 0.7193 GB, free: 7.512 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.5494, allocations: 0 / 0.7193 GB, free: 7.512 MB / 458.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01148/0.5609, allocations: 4.123 MB / 0.7233 GB, free: 3.941 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002628/0.5611, allocations: 0.8879 MB / 0.7242 GB, free: 3.004 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5612, allocations: 0 / 0.7242 GB, free: 3.004 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00517/0.5663, allocations: 1.669 MB / 0.7258 GB, free: 1.555 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006971/0.5671, allocations: 149.7 kB / 0.726 GB, free: 1.414 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/0.5798, allocations: 7.081 MB / 0.7329 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.5811, allocations: 179 kB / 0.733 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-05/0.5812, allocations: 35.98 kB / 0.7331 GB, free: 12.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.5812, allocations: 4 kB / 0.7331 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01131/0.5925, allocations: 3.996 MB / 0.737 GB, free: 8.281 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.5926, allocations: 4 kB / 0.737 GB, free: 8.277 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005129/0.5977, allocations: 1.671 MB / 0.7386 GB, free: 6.602 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/0.5984, allocations: 131.8 kB / 0.7387 GB, free: 6.473 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/0.6112, allocations: 7.09 MB / 0.7457 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.6125, allocations: 159.3 kB / 0.7458 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.437e-05/0.6126, allocations: 35.92 kB / 0.7458 GB, free: 15.07 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {25 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002312/0.6128, allocations: 112.9 kB / 0.746 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0114/0.6242, allocations: 3.969 MB / 0.7498 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/0.6246, allocations: 110.6 kB / 0.7499 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/0.6366, allocations: 4.075 MB / 0.7539 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.6366, allocations: 11.98 kB / 0.7539 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6366, allocations: 7.953 kB / 0.7539 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.6367, allocations: 7.984 kB / 0.7539 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.6499, allocations: 5.592 MB / 0.7594 GB, free: 1.023 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.65, allocations: 0 / 0.7594 GB, free: 1.023 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006378/0.6506, allocations: 123.9 kB / 0.7595 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004932/0.6556, allocations: 1.659 MB / 0.7611 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.569e-05/0.6557, allocations: 7.953 kB / 0.7612 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/0.6672, allocations: 6.191 MB / 0.7672 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6672, allocations: 0 / 0.7672 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/0.6794, allocations: 4.827 MB / 0.7719 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/0.6797, allocations: 191.6 kB / 0.7721 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.6799, allocations: 3.953 kB / 0.7721 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009485/0.6808, allocations: 123.9 kB / 0.7722 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004653/0.6813, allocations: 212.3 kB / 0.7724 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-05/0.6814, allocations: 20 kB / 0.7724 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005626/0.682, allocations: 492.1 kB / 0.7729 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.682, allocations: 0 / 0.7729 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001514/0.6835, allocations: 0.6044 MB / 0.7735 GB, free: 2.387 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1,order4_Inputs_Outputs.delta,order4_Inputs_Outputs.w,order4_Inputs_Outputs.e1q,order4_Inputs_Outputs.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 56 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01296/0.6965, allocations: 5.548 MB / 0.7789 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009166/0.7057, allocations: 3.447 MB / 0.7823 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.7057, allocations: 0 / 0.7823 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00396/0.7097, allocations: 1.431 MB / 0.7837 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007405/0.7104, allocations: 61.14 kB / 0.7837 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.7137, allocations: 1.694 MB / 0.7854 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.7143, allocations: 1.099 MB / 0.7865 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005615/0.7148, allocations: 148.2 kB / 0.7866 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/0.7153, allocations: 383.3 kB / 0.787 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.7153, allocations: 0 / 0.787 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05924/0.7745, allocations: 34.59 MB / 0.8208 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/0.7747, allocations: 133.5 kB / 0.8209 GB, free: 1.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.837/3.612, allocations: 0 / 0.8209 GB, free: 1.68 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)