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.001545/0.00155, allocations: 116.2 kB / 17.07 MB, free: 6 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.001834/0.001834, allocations: 198.9 kB / 18 MB, free: 5.078 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.215/1.215, 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.7964/0.7964, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 62.56 kB / 0.5704 GB, free: 40.03 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1235, allocations: 80.7 MB / 0.6492 GB, free: 13.53 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.002302/0.1259, allocations: 1.794 MB / 0.651 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008449/0.1268, allocations: 0.5575 MB / 0.6515 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.1268, allocations: 8 kB / 0.6515 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.1269, allocations: 19.78 kB / 0.6516 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.1271, allocations: 63.53 kB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.1274, allocations: 79.83 kB / 0.6517 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005594/0.1279, allocations: 0.648 MB / 0.6523 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.561e-05/0.128, allocations: 48.73 kB / 0.6524 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.1283, allocations: 259.3 kB / 0.6526 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003537/0.1287, allocations: 275.1 kB / 0.6529 GB, free: 9.77 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.798e-05/0.1287, allocations: 40 kB / 0.6529 GB, free: 9.73 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.08e-05/0.1288, allocations: 44 kB / 0.653 GB, free: 9.688 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.129, allocations: 147.5 kB / 0.6531 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.1292, allocations: 218.9 kB / 0.6533 GB, free: 9.328 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.1296, allocations: 0.5293 MB / 0.6538 GB, free: 8.801 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1296, allocations: 0 / 0.6538 GB, free: 8.801 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1296, allocations: 0 / 0.6538 GB, free: 8.801 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.1296, allocations: 0 / 0.6538 GB, free: 8.801 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.001892/0.1315, allocations: 0.9589 MB / 0.6548 GB, free: 7.793 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1316, allocations: 11.89 kB / 0.6548 GB, free: 7.781 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.666e-05/0.1316, allocations: 66.72 kB / 0.6549 GB, free: 7.707 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.686e-05/0.1317, allocations: 44.47 kB / 0.6549 GB, free: 7.664 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.1322, allocations: 350.6 kB / 0.6552 GB, free: 7.281 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.1322, allocations: 33.03 kB / 0.6553 GB, free: 7.246 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.1324, allocations: 72.38 kB / 0.6553 GB, free: 7.176 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007085/0.1331, allocations: 0.5251 MB / 0.6558 GB, free: 6.645 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.1332, allocations: 4 kB / 0.6558 GB, free: 6.641 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/0.1332, allocations: 16 kB / 0.6559 GB, free: 6.625 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.1332, allocations: 12.66 kB / 0.6559 GB, free: 6.613 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006664/0.1339, allocations: 0.506 MB / 0.6564 GB, free: 6.105 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/0.1369, allocations: 1.572 MB / 0.6579 GB, free: 4.484 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.1383, allocations: 0.8689 MB / 0.6588 GB, free: 3.602 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004557/0.1388, allocations: 388.1 kB / 0.6591 GB, free: 3.223 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.1388, allocations: 4.438 kB / 0.6591 GB, free: 3.219 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.1388, allocations: 39 kB / 0.6592 GB, free: 3.172 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=52): time 1.783e-06/0.1388, allocations: 0 / 0.6592 GB, free: 3.172 MB / 0.4983 GB Notification: Performance of matching and sorting (n=52): time 0.001345/0.1402, allocations: 0.9881 MB / 0.6601 GB, free: 2.18 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.1402, allocations: 59.84 kB / 0.6602 GB, free: 2.109 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.1405, allocations: 322.6 kB / 0.6605 GB, free: 1.781 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/0.1406, allocations: 33.7 kB / 0.6605 GB, free: 1.742 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1407, allocations: 176.7 kB / 0.6607 GB, free: 1.566 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.1408, allocations: 201.1 kB / 0.6609 GB, free: 1.367 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.141, allocations: 134.7 kB / 0.661 GB, free: 1.23 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1412, allocations: 354.8 kB / 0.6614 GB, free: 0.875 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005167/0.1417, allocations: 417.6 kB / 0.6617 GB, free: 476 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005793/0.1423, allocations: 0.4972 MB / 0.6622 GB, free: 15.94 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.1433, allocations: 0.878 MB / 0.6631 GB, free: 15.04 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.1433, allocations: 0 / 0.6631 GB, free: 15.04 MB / 0.5139 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00131/0.1447, allocations: 1.016 MB / 0.6641 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1447, allocations: 10.5 kB / 0.6641 GB, free: 14 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1447, allocations: 3.938 kB / 0.6641 GB, free: 14 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1447, allocations: 8 kB / 0.6641 GB, free: 13.99 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009012/0.1456, allocations: 231.8 kB / 0.6643 GB, free: 13.77 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1457, allocations: 8 kB / 0.6643 GB, free: 13.76 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.146, allocations: 95.3 kB / 0.6644 GB, free: 13.66 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.1461, allocations: 20 kB / 0.6644 GB, free: 13.64 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.0002239/0.1463, allocations: 222.1 kB / 0.6647 GB, free: 13.42 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.1464, allocations: 39.52 kB / 0.6647 GB, free: 13.38 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.1475, allocations: 0.8098 MB / 0.6655 GB, free: 12.57 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1475, allocations: 4 kB / 0.6655 GB, free: 12.56 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1475, allocations: 0 / 0.6655 GB, free: 12.56 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1475, allocations: 4 kB / 0.6655 GB, free: 12.56 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006348/0.1482, allocations: 0.5871 MB / 0.6661 GB, free: 11.92 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1482, allocations: 0 / 0.6661 GB, free: 11.92 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009824/0.1492, allocations: 203.8 kB / 0.6663 GB, free: 11.72 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.1492, allocations: 4 kB / 0.6663 GB, free: 11.72 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.528e-05/0.1492, allocations: 31.91 kB / 0.6663 GB, free: 11.69 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1492, allocations: 0 / 0.6663 GB, free: 11.69 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1492, allocations: 0 / 0.6663 GB, free: 11.69 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.1507, allocations: 1.238 MB / 0.6675 GB, free: 10.43 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.1509, allocations: 184.5 kB / 0.6677 GB, free: 10.23 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.994e-05/0.151, allocations: 31.91 kB / 0.6677 GB, free: 10.2 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.1513, allocations: 43.94 kB / 0.6678 GB, free: 10.16 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.1514, allocations: 28.39 kB / 0.6678 GB, free: 10.13 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.1514, allocations: 16 kB / 0.6678 GB, free: 10.12 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001907/0.1516, allocations: 225.9 kB / 0.668 GB, free: 9.898 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1516, allocations: 0 / 0.668 GB, free: 9.898 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003949/0.152, allocations: 127.9 kB / 0.6681 GB, free: 9.773 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.001753/0.1538, allocations: 1.797 MB / 0.6699 GB, free: 7.949 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.1548, allocations: 0.8301 MB / 0.6707 GB, free: 7.117 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1548, allocations: 0 / 0.6707 GB, free: 7.117 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.1553, allocations: 374.2 kB / 0.6711 GB, free: 6.754 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.1556, allocations: 32.48 kB / 0.6711 GB, free: 6.727 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007349/0.163, allocations: 6.962 MB / 0.6779 GB, free: 15.64 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.1634, allocations: 0.9053 MB / 0.6788 GB, free: 14.71 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0004606/0.1638, allocations: 243 kB / 0.679 GB, free: 14.47 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.1641, allocations: 131.4 kB / 0.6791 GB, free: 14.34 MB / 0.5295 GB Notification: Performance of SimCode: time 5.61e-07/0.1641, allocations: 0 / 0.6791 GB, free: 14.34 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/0.1948, allocations: 9.785 MB / 0.6887 GB, free: 4.75 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.11, allocations: 448 / 0.6887 GB, free: 4.75 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