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.00156/0.00156, allocations: 113 kB / 17.07 MB, free: 6.008 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.001454/0.001454, allocations: 189.4 kB / 18 MB, free: 5.09 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.403/1.403, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.968/0.968, allocations: 119.3 MB / 411.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 70.17 kB / 0.5704 GB, free: 40.06 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1408, 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.002765/0.1436, allocations: 1.802 MB / 0.651 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1447, allocations: 0.5575 MB / 0.6516 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.1447, allocations: 0 / 0.6516 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.1449, allocations: 19.78 kB / 0.6516 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.1451, allocations: 71.52 kB / 0.6516 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.1453, allocations: 71.84 kB / 0.6517 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004402/0.1458, allocations: 359.6 kB / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.927e-05/0.1459, allocations: 21.67 kB / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.1461, allocations: 139.6 kB / 0.6522 GB, free: 10.51 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.1464, allocations: 151.5 kB / 0.6524 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.132e-05/0.1464, allocations: 20 kB / 0.6524 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 4.853e-05/0.1465, allocations: 16 kB / 0.6524 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1466, allocations: 75.75 kB / 0.6525 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.1467, allocations: 115.5 kB / 0.6526 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.147, allocations: 263.2 kB / 0.6528 GB, free: 9.879 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.147, allocations: 4 kB / 0.6528 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.283e-06/0.147, allocations: 0 / 0.6528 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.536e-05/0.1471, allocations: 0 / 0.6528 GB, free: 9.875 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.0013/0.1484, allocations: 0.6314 MB / 0.6534 GB, free: 9.191 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1484, allocations: 12.03 kB / 0.6535 GB, free: 9.18 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.586e-05/0.1485, allocations: 50.72 kB / 0.6535 GB, free: 9.121 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.1485, allocations: 28.73 kB / 0.6535 GB, free: 9.094 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.1489, allocations: 267.9 kB / 0.6538 GB, free: 8.793 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.1489, allocations: 16.7 kB / 0.6538 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.1491, allocations: 28.56 kB / 0.6538 GB, free: 8.75 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.1495, allocations: 317.2 kB / 0.6541 GB, free: 8.43 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1495, allocations: 0 / 0.6541 GB, free: 8.43 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/0.1497, allocations: 4 kB / 0.6541 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.1497, allocations: 8 kB / 0.6541 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003601/0.15, allocations: 231.5 kB / 0.6544 GB, free: 8.191 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.1521, allocations: 1.093 MB / 0.6554 GB, free: 7.039 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000958/0.1531, allocations: 446.5 kB / 0.6559 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.1534, allocations: 156.7 kB / 0.656 GB, free: 6.438 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1534, allocations: 11.94 kB / 0.656 GB, free: 6.426 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1534, allocations: 42.48 kB / 0.6561 GB, free: 6.375 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=23): time 1.362e-06/0.1534, allocations: 4 kB / 0.6561 GB, free: 6.371 MB / 0.4983 GB Notification: Performance of matching and sorting (n=23): time 0.0007861/0.1542, allocations: 465.3 kB / 0.6565 GB, free: 5.91 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.1543, allocations: 59.34 kB / 0.6566 GB, free: 5.84 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.1545, allocations: 214.3 kB / 0.6568 GB, free: 5.621 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.1545, allocations: 37.64 kB / 0.6568 GB, free: 5.578 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 9.815e-05/0.1546, allocations: 132.6 kB / 0.6569 GB, free: 5.445 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.1547, allocations: 99.23 kB / 0.657 GB, free: 5.348 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.1549, allocations: 69.64 kB / 0.6571 GB, free: 5.273 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1551, allocations: 334.8 kB / 0.6574 GB, free: 4.938 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.1553, allocations: 191.8 kB / 0.6576 GB, free: 4.75 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.1557, allocations: 247.8 kB / 0.6578 GB, free: 4.492 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005676/0.1563, allocations: 432.2 kB / 0.6582 GB, free: 4.055 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1563, allocations: 0 / 0.6582 GB, free: 4.055 MB / 0.4983 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007676/0.157, allocations: 0.493 MB / 0.6587 GB, free: 3.555 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1571, allocations: 7.984 kB / 0.6587 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.056e-06/0.1571, allocations: 7.984 kB / 0.6587 GB, free: 3.539 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1571, allocations: 4.125 kB / 0.6587 GB, free: 3.535 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/0.1576, allocations: 115.8 kB / 0.6588 GB, free: 3.422 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/0.1576, allocations: 4 kB / 0.6589 GB, free: 3.418 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.1578, allocations: 39.75 kB / 0.6589 GB, free: 3.379 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.1578, allocations: 8 kB / 0.6589 GB, free: 3.371 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.0001608/0.158, allocations: 163.1 kB / 0.6591 GB, free: 3.203 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.158, allocations: 19.84 kB / 0.6591 GB, free: 3.184 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.1582, allocations: 45.86 kB / 0.6591 GB, free: 3.133 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1582, allocations: 4 kB / 0.6591 GB, free: 3.129 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1582, allocations: 4 kB / 0.6591 GB, free: 3.125 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1582, allocations: 0 / 0.6591 GB, free: 3.125 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.1587, allocations: 353.3 kB / 0.6595 GB, free: 2.73 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1587, allocations: 3.938 kB / 0.6595 GB, free: 2.727 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005223/0.1592, allocations: 103.9 kB / 0.6596 GB, free: 2.625 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1592, allocations: 0 / 0.6596 GB, free: 2.625 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.1592, allocations: 11.98 kB / 0.6596 GB, free: 2.613 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1593, allocations: 4 kB / 0.6596 GB, free: 2.609 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1593, allocations: 0 / 0.6596 GB, free: 2.609 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008205/0.1601, allocations: 0.6254 MB / 0.6602 GB, free: 1.973 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.1602, allocations: 136.8 kB / 0.6603 GB, free: 1.82 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.1603, allocations: 15.92 kB / 0.6603 GB, free: 1.805 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1605, allocations: 19.97 kB / 0.6604 GB, free: 1.785 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.1605, allocations: 11.98 kB / 0.6604 GB, free: 1.773 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.1605, allocations: 8 kB / 0.6604 GB, free: 1.766 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.000146/0.1607, allocations: 162.9 kB / 0.6605 GB, free: 1.605 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1607, allocations: 3.938 kB / 0.6605 GB, free: 1.602 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0003483/0.161, allocations: 64 kB / 0.6606 GB, free: 1.539 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.00114/0.1622, allocations: 1.168 MB / 0.6617 GB, free: 356 kB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0006239/0.1628, allocations: 391.8 kB / 0.6621 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1628, allocations: 4.062 kB / 0.6621 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.1631, allocations: 163.8 kB / 0.6623 GB, free: 15.8 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.1633, allocations: 14.44 kB / 0.6623 GB, free: 15.79 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.1682, allocations: 3.989 MB / 0.6662 GB, free: 11.69 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.1687, allocations: 0.7908 MB / 0.6669 GB, free: 10.87 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0002456/0.1689, allocations: 109.8 kB / 0.6671 GB, free: 10.76 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.1691, allocations: 63.42 kB / 0.6671 GB, free: 10.7 MB / 0.5139 GB Notification: Performance of SimCode: time 3.41e-07/0.1691, allocations: 0 / 0.6671 GB, free: 10.7 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.1995, allocations: 5.171 MB / 0.6722 GB, free: 5.707 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.24/8.439, allocations: 12 kB / 0.6722 GB, free: 5.699 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