Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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) 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(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad",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.001213/0.001213, allocations: 115.1 kB / 17.07 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 198.9 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8331/0.8331, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 62.58 kB / 0.5704 GB, free: 40.03 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1274, allocations: 80.69 MB / 0.6492 GB, free: 13.55 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.00244/0.1298, allocations: 1.798 MB / 0.651 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008742/0.1307, allocations: 0.5575 MB / 0.6515 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.147e-05/0.1308, allocations: 0 / 0.6515 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.131, allocations: 31.7 kB / 0.6516 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.1312, allocations: 67.53 kB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1315, allocations: 71.88 kB / 0.6517 GB, free: 11 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003824/0.1319, allocations: 347.6 kB / 0.652 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.21e-05/0.1319, allocations: 29.67 kB / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.1321, allocations: 139.6 kB / 0.6522 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.1324, allocations: 151.5 kB / 0.6523 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.1324, allocations: 20 kB / 0.6524 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.925e-05/0.1324, allocations: 16 kB / 0.6524 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 8.517e-05/0.1325, allocations: 79.78 kB / 0.6524 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.1327, allocations: 107.5 kB / 0.6525 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.1329, allocations: 270.8 kB / 0.6528 GB, free: 9.871 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1329, allocations: 3.938 kB / 0.6528 GB, free: 9.867 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1329, allocations: 0 / 0.6528 GB, free: 9.867 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.1329, allocations: 0 / 0.6528 GB, free: 9.867 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001211/0.1341, allocations: 0.6276 MB / 0.6534 GB, free: 9.188 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1342, allocations: 19.88 kB / 0.6534 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.107e-05/0.1342, allocations: 54.67 kB / 0.6535 GB, free: 9.105 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.1343, allocations: 24.66 kB / 0.6535 GB, free: 9.082 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.1346, allocations: 256 kB / 0.6538 GB, free: 8.793 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.1347, allocations: 12.7 kB / 0.6538 GB, free: 8.781 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.1348, allocations: 40.44 kB / 0.6538 GB, free: 8.742 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.1352, allocations: 309.3 kB / 0.6541 GB, free: 8.43 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1353, allocations: 0 / 0.6541 GB, free: 8.43 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.1353, allocations: 4 kB / 0.6541 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.1353, allocations: 12 kB / 0.6541 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.1357, allocations: 239.5 kB / 0.6544 GB, free: 8.18 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.1376, allocations: 1.085 MB / 0.6554 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008445/0.1385, allocations: 449 kB / 0.6558 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.1387, allocations: 164.7 kB / 0.656 GB, free: 6.43 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.1387, allocations: 7.938 kB / 0.656 GB, free: 6.422 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.1388, allocations: 38.5 kB / 0.656 GB, free: 6.375 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.1388, allocations: 4 kB / 0.656 GB, free: 6.371 MB / 0.4983 GB Notification: Performance of matching and sorting (n=23): time 0.0007018/0.1395, allocations: 465.5 kB / 0.6565 GB, free: 5.906 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.1395, allocations: 55.41 kB / 0.6565 GB, free: 5.84 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.1397, allocations: 218.3 kB / 0.6567 GB, free: 5.617 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.1398, allocations: 29.7 kB / 0.6568 GB, free: 5.582 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.1399, allocations: 136.4 kB / 0.6569 GB, free: 5.445 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 6.276e-05/0.1399, allocations: 94.64 kB / 0.657 GB, free: 5.352 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.14, allocations: 69.7 kB / 0.6571 GB, free: 5.277 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1401, allocations: 334.8 kB / 0.6574 GB, free: 4.941 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.1404, allocations: 191.8 kB / 0.6576 GB, free: 4.754 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.1407, allocations: 239.9 kB / 0.6578 GB, free: 4.504 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.1412, allocations: 432.2 kB / 0.6582 GB, free: 4.066 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1412, allocations: 4 kB / 0.6582 GB, free: 4.062 MB / 0.4983 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006648/0.1419, allocations: 0.5006 MB / 0.6587 GB, free: 3.555 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1419, allocations: 4 kB / 0.6587 GB, free: 3.551 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1419, allocations: 4 kB / 0.6587 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1419, allocations: 128 / 0.6587 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004485/0.1424, allocations: 115.9 kB / 0.6588 GB, free: 3.434 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1424, allocations: 4 kB / 0.6588 GB, free: 3.43 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.1426, allocations: 35.72 kB / 0.6589 GB, free: 3.395 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.1426, allocations: 12 kB / 0.6589 GB, free: 3.383 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.1428, allocations: 167.1 kB / 0.659 GB, free: 3.211 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.1428, allocations: 19.75 kB / 0.659 GB, free: 3.191 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.17e-05/0.1429, allocations: 37.88 kB / 0.6591 GB, free: 3.148 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1429, allocations: 3.938 kB / 0.6591 GB, free: 3.145 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1429, allocations: 8 kB / 0.6591 GB, free: 3.137 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1429, allocations: 7.969 kB / 0.6591 GB, free: 3.129 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.1433, allocations: 353.3 kB / 0.6594 GB, free: 2.734 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1433, allocations: 3.938 kB / 0.6594 GB, free: 2.73 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004966/0.1438, allocations: 91.92 kB / 0.6595 GB, free: 2.641 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1438, allocations: 0 / 0.6595 GB, free: 2.641 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.1439, allocations: 15.98 kB / 0.6595 GB, free: 2.625 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1439, allocations: 7.984 kB / 0.6596 GB, free: 2.617 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1439, allocations: 0 / 0.6596 GB, free: 2.617 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007148/0.1446, allocations: 0.6192 MB / 0.6602 GB, free: 1.984 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.1448, allocations: 140.7 kB / 0.6603 GB, free: 1.828 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/0.1448, allocations: 11.98 kB / 0.6603 GB, free: 1.816 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.145, allocations: 15.97 kB / 0.6603 GB, free: 1.801 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.1451, allocations: 15.98 kB / 0.6603 GB, free: 1.785 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.1451, allocations: 7.984 kB / 0.6603 GB, free: 1.777 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.000123/0.1452, allocations: 164.1 kB / 0.6605 GB, free: 1.617 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1452, allocations: 3.938 kB / 0.6605 GB, free: 1.613 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002904/0.1455, allocations: 63.91 kB / 0.6606 GB, free: 1.551 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (P_sfc,generator[1].theta,generator[1].omega,generator[1].p,generator[1].q_ev,generator[1].y_t,generator[1].p_t_lp,generator[1].T_s[1],generator[1].T_s[2],generator[1].T_s[3],generator[1].T_s[4],generator[1].err_p_t_int,generator[1].err_p_int) * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009494/0.1465, allocations: 1.165 MB / 0.6617 GB, free: 372 kB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005449/0.147, allocations: 391.5 kB / 0.6621 GB, free: 15.98 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.147, allocations: 4.25 kB / 0.6621 GB, free: 15.97 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.1472, allocations: 166.2 kB / 0.6622 GB, free: 15.82 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.1475, allocations: 12 kB / 0.6622 GB, free: 15.8 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.1517, allocations: 3.979 MB / 0.6661 GB, free: 11.71 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.152, allocations: 0.7986 MB / 0.6669 GB, free: 10.89 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0002295/0.1522, allocations: 109.8 kB / 0.667 GB, free: 10.78 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.1524, allocations: 59.42 kB / 0.6671 GB, free: 10.72 MB / 0.5139 GB Notification: Performance of SimCode: time 8.21e-07/0.1524, allocations: 0 / 0.6671 GB, free: 10.72 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.1768, allocations: 5.249 MB / 0.6722 GB, free: 5.652 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.505/7.682, allocations: 4.188 kB / 0.6722 GB, free: 5.648 MB / 0.5139 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad_fmu --startTime=0 --stopTime=500 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches