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.005989/0.005989, allocations: 170.5 kB / 15.11 MB, free: 5.973 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.536/1.536, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0008643/0.0008645, allocations: 94.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0752/0.0752, allocations: 12.2 MB / 330.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4172/0.4172, allocations: 78.51 MB / 459.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004774, allocations: 17.72 kB / 0.528 GB, free: 35.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.133, allocations: 69.25 MB / 0.5956 GB, free: 4.266 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.386/0.5191, allocations: 100.4 MB / 0.6937 GB, free: 35.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.5194, allocations: 78.83 kB / 0.6937 GB, free: 35.16 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06522/0.5847, allocations: 24.11 MB / 0.7173 GB, free: 32.99 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5847, allocations: 0 / 0.7173 GB, free: 32.99 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001015/0.5848, allocations: 19.5 kB / 0.7173 GB, free: 32.99 MB / 474.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.005777/0.5906, allocations: 1.879 MB / 0.7191 GB, free: 32.16 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.5907, allocations: 12.05 kB / 0.7192 GB, free: 32.16 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004183/0.5911, allocations: 124.2 kB / 0.7193 GB, free: 32.12 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/0.5946, allocations: 0.5539 MB / 0.7198 GB, free: 32.04 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.5967, allocations: 0.7214 MB / 0.7205 GB, free: 31.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/0.5971, allocations: 265.3 kB / 0.7208 GB, free: 31.52 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/0.5974, allocations: 75.77 kB / 0.7208 GB, free: 31.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/0.5998, allocations: 1.162 MB / 0.722 GB, free: 31.42 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.5999, allocations: 0 / 0.722 GB, free: 31.42 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.667e-05/0.6, allocations: 29.66 kB / 0.722 GB, free: 31.42 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.6, allocations: 15.56 kB / 0.722 GB, free: 31.42 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.6021, allocations: 1.115 MB / 0.7231 GB, free: 31.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006334/0.6084, allocations: 3.527 MB / 0.7266 GB, free: 30.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.6105, allocations: 1.532 MB / 0.728 GB, free: 29.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.734e-05/0.6107, allocations: 12.56 kB / 0.7281 GB, free: 29.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.6107, allocations: 42.59 kB / 0.7281 GB, free: 29.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=90): time 2.895e-06/0.6107, allocations: 0 / 0.7281 GB, free: 29.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=90): time 0.02529/0.636, allocations: 8.291 MB / 0.7362 GB, free: 29.14 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.6361, allocations: 89.83 kB / 0.7363 GB, free: 29.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.6373, allocations: 0.6875 MB / 0.737 GB, free: 28.91 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000297/0.6376, allocations: 43.42 kB / 0.737 GB, free: 28.88 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.6379, allocations: 472.7 kB / 0.7374 GB, free: 28.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004813/0.6384, allocations: 319 kB / 0.7378 GB, free: 28.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.6385, allocations: 14.66 kB / 0.7378 GB, free: 28.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.6386, allocations: 351.3 kB / 0.7381 GB, free: 28.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.64, allocations: 0.683 MB / 0.7388 GB, free: 28.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.6413, allocations: 0.7922 MB / 0.7395 GB, free: 28.05 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.6427, allocations: 0.7177 MB / 0.7402 GB, free: 28.03 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.6427, allocations: 0 / 0.7402 GB, free: 28.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01278/0.6555, allocations: 4.873 MB / 0.745 GB, free: 27.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.6557, allocations: 0.8826 MB / 0.7459 GB, free: 26.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.6558, allocations: 3.875 kB / 0.7459 GB, free: 26.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006152/0.6619, allocations: 2.11 MB / 0.7479 GB, free: 26.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008076/0.6628, allocations: 136.8 kB / 0.7481 GB, free: 26.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/0.6821, allocations: 9.994 MB / 0.7578 GB, free: 23.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.6836, allocations: 188.3 kB / 0.758 GB, free: 23.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/0.6838, allocations: 31.27 kB / 0.758 GB, free: 23.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.6838, allocations: 3.906 kB / 0.758 GB, free: 23.38 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01222/0.6961, allocations: 4.725 MB / 0.7626 GB, free: 22.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.6961, allocations: 7.906 kB / 0.7627 GB, free: 22.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005822/0.7019, allocations: 2.11 MB / 0.7647 GB, free: 21.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/0.7027, allocations: 141 kB / 0.7648 GB, free: 21.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/0.722, allocations: 9.989 MB / 0.7746 GB, free: 18.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.7235, allocations: 181.2 kB / 0.7748 GB, free: 18.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.7237, allocations: 26.44 kB / 0.7748 GB, free: 18.31 MB / 474.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 () * Number of clocked 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.0006965/0.7244, allocations: 305.2 kB / 0.7751 GB, free: 18.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003438/0.7248, allocations: 112.9 kB / 0.7752 GB, free: 18.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/0.7371, allocations: 4.845 MB / 0.7799 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.7371, allocations: 8 kB / 0.7799 GB, free: 14.42 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.7371, allocations: 0 / 0.7799 GB, free: 14.42 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.529e-05/0.7372, allocations: 7.969 kB / 0.7799 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/0.7523, allocations: 6.454 MB / 0.7862 GB, free: 8.941 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.7524, allocations: 0 / 0.7862 GB, free: 8.941 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006967/0.7531, allocations: 115.4 kB / 0.7864 GB, free: 8.832 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005486/0.7586, allocations: 2.057 MB / 0.7884 GB, free: 6.992 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002393/0.7589, allocations: 14.81 kB / 0.7884 GB, free: 6.988 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01639/0.7753, allocations: 8.642 MB / 0.7968 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7753, allocations: 0 / 0.7968 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/0.7905, allocations: 5.833 MB / 0.8025 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004857/0.791, allocations: 191.6 kB / 0.8027 GB, free: 8.371 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/0.7914, allocations: 20 kB / 0.8027 GB, free: 8.352 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.7927, allocations: 139.9 kB / 0.8029 GB, free: 8.215 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006481/0.7934, allocations: 208.5 kB / 0.8031 GB, free: 8.012 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.7935, allocations: 24 kB / 0.8031 GB, free: 7.988 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008103/0.7943, allocations: 0.5471 MB / 0.8036 GB, free: 7.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7943, allocations: 0 / 0.8036 GB, free: 7.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00223/0.7966, allocations: 0.6591 MB / 0.8043 GB, free: 6.77 MB / 490.7 MB 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 () * Number of clocked 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.01516/0.8117, allocations: 6.561 MB / 0.8107 GB, free: 168 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01136/0.8231, allocations: 4.292 MB / 0.8149 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.8232, allocations: 0.5625 kB / 0.8149 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004976/0.8281, allocations: 1.755 MB / 0.8166 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.8295, allocations: 75.38 kB / 0.8166 GB, free: 10 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005964/0.8355, allocations: 4.368 MB / 0.8209 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006412/0.8361, allocations: 1.1 MB / 0.822 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004427/0.8366, allocations: 81.47 kB / 0.8221 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005265/0.8371, allocations: 395.2 kB / 0.8224 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.8371, allocations: 0 / 0.8224 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0633/0.9004, allocations: 35.12 MB / 0.8567 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.9006, allocations: 193.9 kB / 0.8569 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.842/3.743, allocations: 4 kB / 0.8569 GB, free: 0.7305 MB / 0.5261 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)