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.001084/0.001084, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.392/1.392, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008138/0.0008136, allocations: 88.53 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06514/0.06514, allocations: 12.21 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2714/0.2714, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.25e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1254, allocations: 69.25 MB / 0.5889 GB, free: 2.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4413/0.5668, allocations: 100.3 MB / 0.6869 GB, free: 15.94 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.5671, allocations: 83.62 kB / 0.687 GB, free: 15.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06318/0.6303, allocations: 24.02 MB / 0.7104 GB, free: 11.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6303, allocations: 0 / 0.7104 GB, free: 11.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.446e-05/0.6304, allocations: 20 kB / 0.7104 GB, free: 11.58 MB / 458.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.004277/0.6346, allocations: 1.683 MB / 0.7121 GB, free: 9.957 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.6347, allocations: 11.98 kB / 0.7121 GB, free: 9.945 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002086/0.6349, allocations: 131.8 kB / 0.7122 GB, free: 9.859 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/0.638, allocations: 0.5427 MB / 0.7127 GB, free: 9.355 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.6395, allocations: 0.7274 MB / 0.7135 GB, free: 8.727 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.6397, allocations: 262.5 kB / 0.7137 GB, free: 8.461 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.6399, allocations: 72 kB / 0.7138 GB, free: 8.414 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.6414, allocations: 0.9079 MB / 0.7147 GB, free: 7.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.6415, allocations: 4 kB / 0.7147 GB, free: 7.816 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.79e-05/0.6415, allocations: 33 kB / 0.7147 GB, free: 7.809 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.6416, allocations: 16 kB / 0.7147 GB, free: 7.793 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.6429, allocations: 0.8112 MB / 0.7155 GB, free: 7.289 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006009/0.6489, allocations: 3.518 MB / 0.7189 GB, free: 4.594 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.6507, allocations: 1.269 MB / 0.7202 GB, free: 3.508 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000817/0.6515, allocations: 0.5715 MB / 0.7207 GB, free: 3.203 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.6516, allocations: 16.7 kB / 0.7208 GB, free: 3.191 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.6517, allocations: 43.22 kB / 0.7208 GB, free: 3.145 MB / 458.7 MB Notification: Performance of pre-optimization done (n=90): time 2.855e-06/0.6517, allocations: 0 / 0.7208 GB, free: 3.145 MB / 458.7 MB Notification: Performance of matching and sorting (n=90): time 0.01206/0.6638, allocations: 4.033 MB / 0.7247 GB, free: 15.65 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.6639, allocations: 89.83 kB / 0.7248 GB, free: 15.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.665, allocations: 0.6828 MB / 0.7255 GB, free: 15 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002412/0.6652, allocations: 44.45 kB / 0.7255 GB, free: 14.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.6655, allocations: 464 kB / 0.726 GB, free: 14.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/0.6659, allocations: 320.3 kB / 0.7263 GB, free: 14.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.6659, allocations: 16.81 kB / 0.7263 GB, free: 14.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6661, allocations: 343.2 kB / 0.7266 GB, free: 14.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007224/0.6668, allocations: 445.2 kB / 0.727 GB, free: 13.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007732/0.6676, allocations: 0.5474 MB / 0.7276 GB, free: 13.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007493/0.6683, allocations: 490.8 kB / 0.728 GB, free: 13.22 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.6684, allocations: 4 kB / 0.7281 GB, free: 13.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01209/0.6805, allocations: 4.192 MB / 0.7321 GB, free: 9.613 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003016/0.6808, allocations: 0.8772 MB / 0.733 GB, free: 8.684 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.6808, allocations: 4 kB / 0.733 GB, free: 8.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005619/0.6865, allocations: 1.733 MB / 0.7347 GB, free: 7.168 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007366/0.6872, allocations: 143 kB / 0.7348 GB, free: 7.035 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/0.7014, allocations: 7.287 MB / 0.7419 GB, free: 1.746 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.7029, allocations: 191.2 kB / 0.7421 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.769e-05/0.703, allocations: 28 kB / 0.7422 GB, free: 1.531 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.703, allocations: 4 kB / 0.7422 GB, free: 1.527 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0122/0.7152, allocations: 4.075 MB / 0.7461 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.7153, allocations: 0 / 0.7461 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005608/0.7209, allocations: 1.734 MB / 0.7478 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007413/0.7217, allocations: 139.8 kB / 0.748 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/0.7372, allocations: 7.275 MB / 0.7551 GB, free: 4.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.7386, allocations: 179.2 kB / 0.7552 GB, free: 3.984 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.329e-05/0.7387, allocations: 28 kB / 0.7553 GB, free: 3.957 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.0002961/0.739, allocations: 144.8 kB / 0.7554 GB, free: 3.809 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.7392, allocations: 106.7 kB / 0.7555 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/0.7516, allocations: 4.165 MB / 0.7596 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.7517, allocations: 8 kB / 0.7596 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.7517, allocations: 8 kB / 0.7596 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.684e-05/0.7518, allocations: 7.969 kB / 0.7596 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/0.7665, allocations: 5.764 MB / 0.7652 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.7666, allocations: 4.062 kB / 0.7652 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007393/0.7673, allocations: 115.9 kB / 0.7653 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00521/0.7725, allocations: 1.687 MB / 0.767 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001841/0.7727, allocations: 19.94 kB / 0.767 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01293/0.7857, allocations: 6.309 MB / 0.7732 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.7857, allocations: 4 kB / 0.7732 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01378/0.7995, allocations: 4.905 MB / 0.778 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004623/0.8, allocations: 207.5 kB / 0.7782 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.8002, allocations: 19.94 kB / 0.7782 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.8012, allocations: 135.9 kB / 0.7783 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006338/0.8019, allocations: 208.4 kB / 0.7785 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.154e-05/0.802, allocations: 24 kB / 0.7785 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007425/0.8027, allocations: 0.5318 MB / 0.7791 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8027, allocations: 4 kB / 0.7791 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001798/0.8045, allocations: 0.6514 MB / 0.7797 GB, free: 10.56 MB / 0.5105 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.01389/0.8184, allocations: 5.644 MB / 0.7852 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009748/0.8282, allocations: 3.555 MB / 0.7887 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.8283, allocations: 4 kB / 0.7887 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004339/0.8326, allocations: 1.473 MB / 0.7901 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007945/0.8334, allocations: 87.09 kB / 0.7902 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.8372, allocations: 1.752 MB / 0.7919 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006895/0.8379, allocations: 1.106 MB / 0.793 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005879/0.8385, allocations: 136.3 kB / 0.7931 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/0.839, allocations: 395.3 kB / 0.7935 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/0.839, allocations: 0 / 0.7935 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06758/0.9066, allocations: 37.02 MB / 0.8297 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.9068, allocations: 172.5 kB / 0.8298 GB, free: 7.094 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.074/3.981, allocations: 3.938 kB / 0.8298 GB, free: 7.09 MB / 0.5573 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)