Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.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.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",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.001447/0.001447, allocations: 113.4 kB / 17.07 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.001226/0.001226, allocations: 193.4 kB / 18 MB, free: 5.074 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.305/1.305, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9401/0.9401, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 67.12 kB / 0.5704 GB, free: 40.04 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1271, allocations: 80.69 MB / 0.6492 GB, free: 13.55 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.002834/0.13, allocations: 1.806 MB / 0.651 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1311, allocations: 0.542 MB / 0.6515 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1312, allocations: 3.938 kB / 0.6515 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.1314, allocations: 35.77 kB / 0.6516 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.1317, allocations: 63.53 kB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.132, allocations: 75.81 kB / 0.6517 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007679/0.1328, allocations: 0.6481 MB / 0.6523 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 9.066e-05/0.1329, allocations: 44.73 kB / 0.6524 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.1333, allocations: 263.3 kB / 0.6526 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004878/0.1338, allocations: 275.1 kB / 0.6529 GB, free: 9.785 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.1339, allocations: 40 kB / 0.6529 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.134, allocations: 44 kB / 0.653 GB, free: 9.703 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.1342, allocations: 143.6 kB / 0.6531 GB, free: 9.562 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.1346, allocations: 219 kB / 0.6533 GB, free: 9.348 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0005654/0.1351, allocations: 0.5257 MB / 0.6538 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1351, allocations: 0 / 0.6538 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1352, allocations: 4 kB / 0.6538 GB, free: 8.816 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.1352, allocations: 0 / 0.6538 GB, free: 8.816 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002169/0.1373, allocations: 0.9624 MB / 0.6548 GB, free: 7.805 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1374, allocations: 15.89 kB / 0.6548 GB, free: 7.789 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.1375, allocations: 74.66 kB / 0.6549 GB, free: 7.707 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.1376, allocations: 44.66 kB / 0.6549 GB, free: 7.664 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.1381, allocations: 358.8 kB / 0.6552 GB, free: 7.273 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.1382, allocations: 29.03 kB / 0.6553 GB, free: 7.242 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/0.1384, allocations: 68.42 kB / 0.6553 GB, free: 7.176 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008192/0.1392, allocations: 0.529 MB / 0.6559 GB, free: 6.641 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1393, allocations: 0 / 0.6559 GB, free: 6.641 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.257e-05/0.1393, allocations: 16 kB / 0.6559 GB, free: 6.625 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.1393, allocations: 12.64 kB / 0.6559 GB, free: 6.613 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007813/0.1401, allocations: 0.5099 MB / 0.6564 GB, free: 6.102 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003274/0.1434, allocations: 1.577 MB / 0.6579 GB, free: 4.477 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.145, allocations: 0.8688 MB / 0.6588 GB, free: 3.594 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/0.1456, allocations: 388.1 kB / 0.6591 GB, free: 3.215 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.1456, allocations: 8.422 kB / 0.6592 GB, free: 3.207 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.1456, allocations: 42.94 kB / 0.6592 GB, free: 3.156 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=52): time 1.854e-06/0.1457, allocations: 0 / 0.6592 GB, free: 3.156 MB / 0.4983 GB Notification: Performance of matching and sorting (n=52): time 0.001563/0.1472, allocations: 0.9922 MB / 0.6602 GB, free: 2.16 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.1473, allocations: 55.84 kB / 0.6602 GB, free: 2.094 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.1476, allocations: 310.7 kB / 0.6605 GB, free: 1.777 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/0.1477, allocations: 41.7 kB / 0.6605 GB, free: 1.73 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.1478, allocations: 181 kB / 0.6607 GB, free: 1.551 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.148, allocations: 214.2 kB / 0.6609 GB, free: 1.34 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.1482, allocations: 134.6 kB / 0.6611 GB, free: 1.203 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1484, allocations: 354.8 kB / 0.6614 GB, free: 0.8477 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006086/0.149, allocations: 409.6 kB / 0.6618 GB, free: 456 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000684/0.1497, allocations: 0.505 MB / 0.6623 GB, free: 15.91 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.1509, allocations: 0.8702 MB / 0.6631 GB, free: 15.01 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.151, allocations: 0 / 0.6631 GB, free: 15.01 MB / 0.5139 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001522/0.1525, allocations: 1.032 MB / 0.6641 GB, free: 13.97 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1525, allocations: 4 kB / 0.6641 GB, free: 13.97 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1525, allocations: 7.938 kB / 0.6641 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.1526, allocations: 4 kB / 0.6641 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009175/0.1535, allocations: 227.9 kB / 0.6644 GB, free: 13.73 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/0.1535, allocations: 11.94 kB / 0.6644 GB, free: 13.72 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.1539, allocations: 91.48 kB / 0.6645 GB, free: 13.63 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.154, allocations: 20 kB / 0.6645 GB, free: 13.61 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (86): * Single equations (assignments): 86 * 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.0002644/0.1542, allocations: 226.1 kB / 0.6647 GB, free: 13.38 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.938e-05/0.1543, allocations: 35.77 kB / 0.6647 GB, free: 13.35 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.1556, allocations: 0.7982 MB / 0.6655 GB, free: 12.55 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.1556, allocations: 8 kB / 0.6655 GB, free: 12.54 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1556, allocations: 3.938 kB / 0.6655 GB, free: 12.54 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.1557, allocations: 7.984 kB / 0.6655 GB, free: 12.53 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007248/0.1564, allocations: 0.5754 MB / 0.6661 GB, free: 11.91 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.1564, allocations: 4 kB / 0.6661 GB, free: 11.9 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.1574, allocations: 207.8 kB / 0.6663 GB, free: 11.7 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1574, allocations: 0 / 0.6663 GB, free: 11.7 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.069e-05/0.1575, allocations: 31.91 kB / 0.6663 GB, free: 11.67 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.1575, allocations: 4 kB / 0.6663 GB, free: 11.66 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1575, allocations: 0 / 0.6663 GB, free: 11.66 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.1592, allocations: 1.242 MB / 0.6675 GB, free: 10.41 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.1595, allocations: 192.7 kB / 0.6677 GB, free: 10.2 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.724e-05/0.1596, allocations: 27.92 kB / 0.6678 GB, free: 10.17 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/0.1599, allocations: 39.94 kB / 0.6678 GB, free: 10.13 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.16, allocations: 32.39 kB / 0.6678 GB, free: 10.1 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.16, allocations: 15.98 kB / 0.6678 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0002212/0.1603, allocations: 217.9 kB / 0.668 GB, free: 9.875 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1603, allocations: 0 / 0.668 GB, free: 9.875 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004292/0.1607, allocations: 131.9 kB / 0.6682 GB, free: 9.746 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 25 (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,generator[2].theta,generator[2].omega,generator[2].p,generator[2].q_ev,generator[2].y_t,generator[2].p_t_lp,generator[2].T_s[1],generator[2].T_s[2],generator[2].T_s[3],generator[2].T_s[4],generator[2].err_p_t_int,generator[2].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 (54): * Single equations (assignments): 54 * 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.002003/0.1627, allocations: 1.805 MB / 0.6699 GB, free: 7.914 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.164, allocations: 0.834 MB / 0.6707 GB, free: 7.078 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.164, allocations: 0 / 0.6707 GB, free: 7.078 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005109/0.1645, allocations: 366.2 kB / 0.6711 GB, free: 6.723 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.1648, allocations: 28.83 kB / 0.6711 GB, free: 6.695 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008907/0.1738, allocations: 6.984 MB / 0.6779 GB, free: 15.58 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.1743, allocations: 0.8936 MB / 0.6788 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0005438/0.1749, allocations: 250.9 kB / 0.6791 GB, free: 14.42 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.1752, allocations: 131.1 kB / 0.6792 GB, free: 14.3 MB / 0.5295 GB Notification: Performance of SimCode: time 7.51e-07/0.1752, allocations: 0 / 0.6792 GB, free: 14.3 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03616/0.2114, allocations: 9.637 MB / 0.6886 GB, free: 4.852 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.653/8.865, allocations: 7.188 kB / 0.6886 GB, free: 4.848 MB / 0.5295 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches