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.001328/0.001328, allocations: 107.9 kB / 17.06 MB, free: 5.988 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.001337/0.001337, allocations: 191 kB / 18 MB, free: 5.07 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.306/1.306, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8735/0.8735, allocations: 119.3 MB / 411.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001159, allocations: 70.2 kB / 0.5704 GB, free: 40.2 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1321, allocations: 80.7 MB / 0.6492 GB, free: 13.69 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.002495/0.1346, allocations: 1.798 MB / 0.651 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009166/0.1355, allocations: 0.5575 MB / 0.6515 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.1356, allocations: 0 / 0.6515 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.1357, allocations: 31.72 kB / 0.6516 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.136, allocations: 67.53 kB / 0.6516 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.1362, allocations: 67.89 kB / 0.6517 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003575/0.1366, allocations: 355.6 kB / 0.652 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1367, allocations: 25.67 kB / 0.6521 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.1369, allocations: 143.6 kB / 0.6522 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.1371, allocations: 151.5 kB / 0.6523 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.1371, allocations: 20 kB / 0.6524 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 4.112e-05/0.1372, allocations: 20 kB / 0.6524 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.893e-05/0.1373, allocations: 71.8 kB / 0.6525 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.1374, allocations: 107.5 kB / 0.6526 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.1377, allocations: 266.9 kB / 0.6528 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1377, allocations: 0 / 0.6528 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.795e-06/0.1377, allocations: 0 / 0.6528 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.1377, allocations: 7.938 kB / 0.6528 GB, free: 10.01 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.00117/0.1389, allocations: 0.6315 MB / 0.6534 GB, free: 9.328 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.139, allocations: 15.89 kB / 0.6535 GB, free: 9.312 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.006e-05/0.139, allocations: 58.67 kB / 0.6535 GB, free: 9.246 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.1391, allocations: 20.66 kB / 0.6535 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.1394, allocations: 267.9 kB / 0.6538 GB, free: 8.926 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1394, allocations: 12.7 kB / 0.6538 GB, free: 8.914 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.1396, allocations: 32.47 kB / 0.6538 GB, free: 8.883 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.14, allocations: 305.3 kB / 0.6541 GB, free: 8.574 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1401, allocations: 4 kB / 0.6541 GB, free: 8.57 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.1401, allocations: 8 kB / 0.6541 GB, free: 8.562 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.1401, allocations: 4 kB / 0.6541 GB, free: 8.559 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.1404, allocations: 239.5 kB / 0.6544 GB, free: 8.324 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.1424, allocations: 1.085 MB / 0.6554 GB, free: 7.18 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000873/0.1432, allocations: 450.5 kB / 0.6558 GB, free: 6.73 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.1435, allocations: 168.7 kB / 0.656 GB, free: 6.562 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.1435, allocations: 3.938 kB / 0.656 GB, free: 6.559 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.1436, allocations: 38.56 kB / 0.6561 GB, free: 6.512 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=23): time 1.422e-06/0.1436, allocations: 0 / 0.6561 GB, free: 6.512 MB / 0.4983 GB Notification: Performance of matching and sorting (n=23): time 0.0007209/0.1443, allocations: 465.5 kB / 0.6565 GB, free: 6.047 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.1443, allocations: 55.41 kB / 0.6565 GB, free: 5.98 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.1445, allocations: 222.2 kB / 0.6568 GB, free: 5.754 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.1446, allocations: 33.7 kB / 0.6568 GB, free: 5.715 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.649e-05/0.1446, allocations: 124.4 kB / 0.6569 GB, free: 5.59 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 6.911e-05/0.1447, allocations: 94.66 kB / 0.657 GB, free: 5.496 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.1448, allocations: 77.69 kB / 0.6571 GB, free: 5.414 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.145, allocations: 330.8 kB / 0.6574 GB, free: 5.082 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.1453, allocations: 191.8 kB / 0.6576 GB, free: 4.895 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.1455, allocations: 239.9 kB / 0.6578 GB, free: 4.645 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/0.1461, allocations: 432.2 kB / 0.6582 GB, free: 4.207 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1461, allocations: 0 / 0.6582 GB, free: 4.207 MB / 0.4983 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006894/0.1468, allocations: 0.5006 MB / 0.6587 GB, free: 3.699 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1468, allocations: 8 kB / 0.6587 GB, free: 3.691 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1468, allocations: 0 / 0.6587 GB, free: 3.691 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1468, allocations: 4 kB / 0.6587 GB, free: 3.688 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/0.1473, allocations: 112 kB / 0.6588 GB, free: 3.578 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1473, allocations: 4 kB / 0.6588 GB, free: 3.574 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.1475, allocations: 39.72 kB / 0.6589 GB, free: 3.535 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.1476, allocations: 12 kB / 0.6589 GB, free: 3.523 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.1477, allocations: 163.1 kB / 0.659 GB, free: 3.355 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.1478, allocations: 19.75 kB / 0.659 GB, free: 3.336 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.328e-05/0.1479, allocations: 41.8 kB / 0.6591 GB, free: 3.289 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1479, allocations: 4 kB / 0.6591 GB, free: 3.285 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1479, allocations: 4 kB / 0.6591 GB, free: 3.281 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1479, allocations: 11.92 kB / 0.6591 GB, free: 3.27 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.1483, allocations: 357.3 kB / 0.6594 GB, free: 2.871 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1483, allocations: 3.938 kB / 0.6595 GB, free: 2.867 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005285/0.1488, allocations: 91.92 kB / 0.6595 GB, free: 2.777 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1488, allocations: 0 / 0.6595 GB, free: 2.777 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.1489, allocations: 15.98 kB / 0.6596 GB, free: 2.762 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1489, allocations: 0 / 0.6596 GB, free: 2.762 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1489, allocations: 0 / 0.6596 GB, free: 2.762 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007611/0.1497, allocations: 0.6297 MB / 0.6602 GB, free: 2.117 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.1498, allocations: 136.7 kB / 0.6603 GB, free: 1.965 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.1498, allocations: 15.98 kB / 0.6603 GB, free: 1.949 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.15, allocations: 15.97 kB / 0.6603 GB, free: 1.934 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.1501, allocations: 11.98 kB / 0.6603 GB, free: 1.922 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.1501, allocations: 8 kB / 0.6604 GB, free: 1.914 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001228/0.1503, allocations: 160.1 kB / 0.6605 GB, free: 1.758 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1503, allocations: 0 / 0.6605 GB, free: 1.758 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002832/0.1505, allocations: 63.91 kB / 0.6606 GB, free: 1.695 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.001002/0.1516, allocations: 1.168 MB / 0.6617 GB, free: 0.5039 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005615/0.1521, allocations: 391.5 kB / 0.6621 GB, free: 124 kB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1521, allocations: 0 / 0.6621 GB, free: 124 kB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.1524, allocations: 164.1 kB / 0.6622 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.1526, allocations: 18.44 kB / 0.6623 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/0.1569, allocations: 3.982 MB / 0.6661 GB, free: 11.85 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1573, allocations: 0.7947 MB / 0.6669 GB, free: 11.03 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0002755/0.1575, allocations: 109.8 kB / 0.667 GB, free: 10.92 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.1577, allocations: 63.41 kB / 0.6671 GB, free: 10.86 MB / 0.5139 GB Notification: Performance of SimCode: time 4.1e-07/0.1577, allocations: 0 / 0.6671 GB, free: 10.86 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.182, allocations: 5.243 MB / 0.6722 GB, free: 5.797 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/7.577, allocations: 15.11 kB / 0.6722 GB, free: 5.785 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