Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,fileNamePrefix="OpenIPSL_release_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 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008398/0.0008398, allocations: 88.94 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4547/0.4547, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.666e-05/3.668e-05, allocations: 4 kB / 491.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3843, allocations: 69.35 MB / 0.5481 GB, free: 20.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.5067, allocations: 98.78 MB / 0.6446 GB, free: 1.738 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.5071, allocations: 83.95 kB / 0.6446 GB, free: 1.656 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06768/0.5748, allocations: 24.78 MB / 0.6688 GB, free: 8.699 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5748, allocations: 3.938 kB / 0.6688 GB, free: 8.695 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.868e-05/0.5749, allocations: 16 kB / 0.6689 GB, free: 8.68 MB / 490.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.005052/0.5799, allocations: 1.683 MB / 0.6705 GB, free: 6.949 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.58, allocations: 15.97 kB / 0.6705 GB, free: 6.934 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000292/0.5803, allocations: 122.5 kB / 0.6706 GB, free: 6.805 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/0.5837, allocations: 0.5448 MB / 0.6712 GB, free: 6.258 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.5855, allocations: 0.7069 MB / 0.6719 GB, free: 5.504 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000351/0.5859, allocations: 276 kB / 0.6721 GB, free: 5.199 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000243/0.5861, allocations: 72 kB / 0.6722 GB, free: 5.129 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.5882, allocations: 0.9149 MB / 0.6731 GB, free: 4.199 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.5882, allocations: 4 kB / 0.6731 GB, free: 4.195 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.5883, allocations: 32 kB / 0.6731 GB, free: 4.164 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.5883, allocations: 16 kB / 0.6731 GB, free: 4.148 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.59, allocations: 0.8124 MB / 0.6739 GB, free: 3.336 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3651/0.9552, allocations: 3.512 MB / 0.6774 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/0.9574, allocations: 1.266 MB / 0.6786 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000851/0.9582, allocations: 0.5741 MB / 0.6792 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.9583, allocations: 12.67 kB / 0.6792 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.9584, allocations: 46.97 kB / 0.6792 GB, free: 104.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.296e-06/0.9584, allocations: 0 / 0.6792 GB, free: 104.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01369/0.9721, allocations: 4.035 MB / 0.6831 GB, free: 104.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/0.9722, allocations: 91.09 kB / 0.6832 GB, free: 104.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.9738, allocations: 0.6772 MB / 0.6839 GB, free: 104.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002005/0.974, allocations: 42.81 kB / 0.6839 GB, free: 104.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.9743, allocations: 464.4 kB / 0.6844 GB, free: 104.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/0.9747, allocations: 319.4 kB / 0.6847 GB, free: 104 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.052e-05/0.9747, allocations: 16.31 kB / 0.6847 GB, free: 104 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.28e-05/0.9748, allocations: 340.3 kB / 0.685 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007882/0.9756, allocations: 446.9 kB / 0.6855 GB, free: 103.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007144/0.9763, allocations: 0.549 MB / 0.686 GB, free: 103.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/0.977, allocations: 485.6 kB / 0.6865 GB, free: 103.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.9771, allocations: 0 / 0.6865 GB, free: 103.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01153/0.9886, allocations: 4.202 MB / 0.6906 GB, free: 103.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002131/0.9888, allocations: 0.881 MB / 0.6914 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.9889, allocations: 1.078 kB / 0.6914 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005217/0.9941, allocations: 1.735 MB / 0.6931 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007396/0.9948, allocations: 139.6 kB / 0.6932 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/1.008, allocations: 7.283 MB / 0.7004 GB, free: 98.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/1.01, allocations: 189.2 kB / 0.7005 GB, free: 98.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.194e-05/1.01, allocations: 33.16 kB / 0.7006 GB, free: 98.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.517e-06/1.01, allocations: 3.438 kB / 0.7006 GB, free: 98.52 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01125/1.021, allocations: 4.075 MB / 0.7045 GB, free: 97.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.021, allocations: 6 kB / 0.7046 GB, free: 97.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005045/1.026, allocations: 1.731 MB / 0.7062 GB, free: 96.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006447/1.027, allocations: 131.1 kB / 0.7064 GB, free: 96.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/1.04, allocations: 7.283 MB / 0.7135 GB, free: 89.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/1.041, allocations: 177.3 kB / 0.7137 GB, free: 89.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.151e-05/1.041, allocations: 27.84 kB / 0.7137 GB, free: 89.71 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.0002811/1.042, allocations: 152.8 kB / 0.7138 GB, free: 89.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/1.042, allocations: 110.6 kB / 0.7139 GB, free: 89.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/1.053, allocations: 4.159 MB / 0.718 GB, free: 86.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.053, allocations: 8 kB / 0.718 GB, free: 86.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/1.053, allocations: 4 kB / 0.718 GB, free: 86.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.311e-05/1.053, allocations: 3.094 kB / 0.718 GB, free: 86.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/1.067, allocations: 5.772 MB / 0.7236 GB, free: 81.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/1.067, allocations: 4 kB / 0.7236 GB, free: 81.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006837/1.068, allocations: 114.8 kB / 0.7238 GB, free: 81.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004795/1.072, allocations: 1.682 MB / 0.7254 GB, free: 80.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/1.073, allocations: 16 kB / 0.7254 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/1.084, allocations: 6.323 MB / 0.7316 GB, free: 73.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.084, allocations: 0.7656 kB / 0.7316 GB, free: 73.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/1.097, allocations: 4.903 MB / 0.7364 GB, free: 68.97 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/1.097, allocations: 199.5 kB / 0.7366 GB, free: 68.76 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/1.097, allocations: 23.95 kB / 0.7366 GB, free: 68.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/1.099, allocations: 143.8 kB / 0.7367 GB, free: 68.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006494/1.099, allocations: 208.3 kB / 0.7369 GB, free: 68.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.845e-05/1.099, allocations: 20 kB / 0.7369 GB, free: 68.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006582/1.1, allocations: 0.5357 MB / 0.7375 GB, free: 67.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.1, allocations: 0 / 0.7375 GB, free: 67.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001862/1.102, allocations: 0.6509 MB / 0.7381 GB, free: 67.18 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 () * 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.01292/1.115, allocations: 5.644 MB / 0.7436 GB, free: 61.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009172/1.124, allocations: 3.562 MB / 0.7471 GB, free: 57.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.124, allocations: 4 kB / 0.7471 GB, free: 57.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004036/1.128, allocations: 1.472 MB / 0.7485 GB, free: 56.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009617/1.129, allocations: 76.52 kB / 0.7486 GB, free: 56.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/1.133, allocations: 1.761 MB / 0.7503 GB, free: 54.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/1.134, allocations: 1.099 MB / 0.7514 GB, free: 53.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005779/1.134, allocations: 143.3 kB / 0.7515 GB, free: 53.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003982/1.135, allocations: 383.3 kB / 0.7519 GB, free: 52.93 MB / 490.7 MB Notification: Performance of SimCode: time 2.074e-06/1.135, allocations: 0 / 0.7519 GB, free: 52.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05789/1.193, allocations: 36.99 MB / 0.788 GB, free: 16.38 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/1.193, allocations: 184.1 kB / 0.7882 GB, free: 16.15 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.173/4.366, allocations: 0 / 0.7882 GB, free: 16.15 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_AVR.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)