Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.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.ScaledExperiments.PowerSystemStepLoad_N_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4",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.001238/0.001238, allocations: 108.5 kB / 17.06 MB, free: 6.016 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.001287/0.001287, allocations: 192 kB / 18 MB, free: 5.098 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.233/1.233, 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.8016/0.8016, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 62.86 kB / 0.5705 GB, free: 40.02 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1207, allocations: 80.7 MB / 0.6493 GB, free: 13.52 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4): time 0.002345/0.1231, allocations: 1.83 MB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008497/0.1239, allocations: 0.5537 MB / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.521e-05/0.124, allocations: 0 / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.1241, allocations: 23.72 kB / 0.6516 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.1243, allocations: 67.52 kB / 0.6517 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.1246, allocations: 83.83 kB / 0.6518 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000571/0.1252, allocations: 0.6441 MB / 0.6524 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.927e-05/0.1252, allocations: 48.72 kB / 0.6524 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.1255, allocations: 255.3 kB / 0.6527 GB, free: 10 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000365/0.1259, allocations: 283.1 kB / 0.653 GB, free: 9.723 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.566e-05/0.126, allocations: 40 kB / 0.653 GB, free: 9.684 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.441e-05/0.126, allocations: 40 kB / 0.653 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.1262, allocations: 147.6 kB / 0.6532 GB, free: 9.5 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.1264, allocations: 215 kB / 0.6534 GB, free: 9.289 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.1268, allocations: 0.5293 MB / 0.6539 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1269, allocations: 0 / 0.6539 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1269, allocations: 0 / 0.6539 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.1269, allocations: 4 kB / 0.6539 GB, free: 8.758 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.001921/0.1288, allocations: 0.951 MB / 0.6548 GB, free: 7.758 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1289, allocations: 8.031 kB / 0.6548 GB, free: 7.75 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.048e-05/0.1289, allocations: 74.72 kB / 0.6549 GB, free: 7.668 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.447e-05/0.129, allocations: 44.41 kB / 0.6549 GB, free: 7.625 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.1296, allocations: 350.6 kB / 0.6553 GB, free: 7.242 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.1296, allocations: 40.97 kB / 0.6553 GB, free: 7.199 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.1298, allocations: 68.39 kB / 0.6554 GB, free: 7.133 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006883/0.1305, allocations: 0.5212 MB / 0.6559 GB, free: 6.605 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.1306, allocations: 4 kB / 0.6559 GB, free: 6.602 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.1306, allocations: 12 kB / 0.6559 GB, free: 6.59 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.1306, allocations: 12.66 kB / 0.6559 GB, free: 6.578 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006544/0.1313, allocations: 0.4982 MB / 0.6564 GB, free: 6.078 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/0.1345, allocations: 1.588 MB / 0.658 GB, free: 4.441 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.1359, allocations: 0.871 MB / 0.6588 GB, free: 3.559 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.1364, allocations: 377.9 kB / 0.6592 GB, free: 3.188 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.1364, allocations: 8.438 kB / 0.6592 GB, free: 3.18 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.1364, allocations: 35 kB / 0.6592 GB, free: 3.137 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=52): time 3.256e-06/0.1364, allocations: 0 / 0.6592 GB, free: 3.137 MB / 0.4983 GB Notification: Performance of matching and sorting (n=52): time 0.001351/0.1378, allocations: 1.004 MB / 0.6602 GB, free: 2.129 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.1378, allocations: 55.84 kB / 0.6602 GB, free: 2.062 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.1381, allocations: 318.6 kB / 0.6605 GB, free: 1.738 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.1382, allocations: 37.7 kB / 0.6606 GB, free: 1.695 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.1383, allocations: 176.7 kB / 0.6608 GB, free: 1.52 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.1384, allocations: 201.1 kB / 0.6609 GB, free: 1.32 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.1386, allocations: 134.7 kB / 0.6611 GB, free: 1.184 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1388, allocations: 354.8 kB / 0.6614 GB, free: 0.8281 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005136/0.1393, allocations: 413.6 kB / 0.6618 GB, free: 432 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/0.1399, allocations: 0.501 MB / 0.6623 GB, free: 15.89 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.1409, allocations: 0.8663 MB / 0.6631 GB, free: 15 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1409, allocations: 0 / 0.6631 GB, free: 15 MB / 0.5139 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001292/0.1422, allocations: 1.039 MB / 0.6642 GB, free: 13.95 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1422, allocations: 4 kB / 0.6642 GB, free: 13.95 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.1423, allocations: 7.938 kB / 0.6642 GB, free: 13.94 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1423, allocations: 4 kB / 0.6642 GB, free: 13.94 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008747/0.1432, allocations: 223.7 kB / 0.6644 GB, free: 13.72 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.1432, allocations: 11.94 kB / 0.6644 GB, free: 13.71 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.1435, allocations: 83.41 kB / 0.6645 GB, free: 13.62 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.1436, 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.0002191/0.1438, allocations: 229.6 kB / 0.6647 GB, free: 13.37 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.1439, allocations: 39.52 kB / 0.6647 GB, free: 13.33 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.145, allocations: 0.8021 MB / 0.6655 GB, free: 12.53 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.145, allocations: 8 kB / 0.6655 GB, free: 12.52 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.145, allocations: 3.938 kB / 0.6655 GB, free: 12.52 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.145, allocations: 3.984 kB / 0.6655 GB, free: 12.51 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006081/0.1456, allocations: 0.5755 MB / 0.6661 GB, free: 11.89 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1456, allocations: 0 / 0.6661 GB, free: 11.89 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009639/0.1466, allocations: 203.7 kB / 0.6663 GB, free: 11.69 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1466, allocations: 8 kB / 0.6663 GB, free: 11.68 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.1467, allocations: 31.91 kB / 0.6663 GB, free: 11.65 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1467, allocations: 4 kB / 0.6663 GB, free: 11.64 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1467, allocations: 0 / 0.6663 GB, free: 11.64 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.1481, allocations: 1.219 MB / 0.6675 GB, free: 10.41 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/0.1484, allocations: 192.5 kB / 0.6677 GB, free: 10.2 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.591e-05/0.1485, allocations: 31.91 kB / 0.6677 GB, free: 10.17 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.1488, allocations: 43.94 kB / 0.6678 GB, free: 10.13 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.1489, allocations: 40.33 kB / 0.6678 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.1489, allocations: 12 kB / 0.6678 GB, free: 10.08 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001907/0.1491, allocations: 225.9 kB / 0.6681 GB, free: 9.859 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1491, allocations: 0 / 0.6681 GB, free: 9.859 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003964/0.1495, allocations: 124 kB / 0.6682 GB, free: 9.738 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.001746/0.1513, allocations: 1.798 MB / 0.6699 GB, free: 7.914 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.1525, allocations: 0.8297 MB / 0.6707 GB, free: 7.082 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1525, allocations: 3.938 kB / 0.6707 GB, free: 7.078 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004815/0.153, allocations: 370.2 kB / 0.6711 GB, free: 6.719 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.1533, allocations: 28.81 kB / 0.6711 GB, free: 6.691 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007752/0.161, allocations: 6.97 MB / 0.6779 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.1615, allocations: 0.8975 MB / 0.6788 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0004772/0.162, allocations: 247 kB / 0.679 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.1623, allocations: 127.4 kB / 0.6792 GB, free: 14.31 MB / 0.5295 GB Notification: Performance of SimCode: time 1.744e-06/0.1623, allocations: 0 / 0.6792 GB, free: 14.31 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.1915, allocations: 9.795 MB / 0.6887 GB, free: 4.711 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.857/8.049, allocations: 11.78 kB / 0.6887 GB, free: 4.703 MB / 0.5295 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches