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.001286/0.001286, allocations: 105.2 kB / 17.06 MB, free: 6.027 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: 195 kB / 18 MB, free: 5.105 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.216/1.216, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7914/0.7914, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 70.48 kB / 0.5704 GB, free: 39.99 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1189, allocations: 80.71 MB / 0.6492 GB, free: 13.52 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.002303/0.1213, allocations: 1.806 MB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000861/0.1221, allocations: 0.5576 MB / 0.6516 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.1222, allocations: 3.938 kB / 0.6516 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.1223, allocations: 19.78 kB / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.1225, allocations: 59.55 kB / 0.6516 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.1228, allocations: 87.81 kB / 0.6517 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005684/0.1234, allocations: 0.648 MB / 0.6523 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.256e-05/0.1234, allocations: 40.73 kB / 0.6524 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.1237, allocations: 263.3 kB / 0.6526 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.124, allocations: 275.2 kB / 0.6529 GB, free: 9.75 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.845e-05/0.1241, allocations: 40 kB / 0.6529 GB, free: 9.711 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.02e-05/0.1242, allocations: 36 kB / 0.653 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.1243, allocations: 151.6 kB / 0.6531 GB, free: 9.527 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.1245, allocations: 215 kB / 0.6533 GB, free: 9.316 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.1249, allocations: 0.5293 MB / 0.6538 GB, free: 8.789 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1249, allocations: 3.938 kB / 0.6538 GB, free: 8.785 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.343e-06/0.125, allocations: 0 / 0.6538 GB, free: 8.785 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.125, allocations: 0 / 0.6538 GB, free: 8.785 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.001871/0.1268, allocations: 0.9588 MB / 0.6548 GB, free: 7.777 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1269, allocations: 11.89 kB / 0.6548 GB, free: 7.766 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.964e-05/0.127, allocations: 66.73 kB / 0.6549 GB, free: 7.691 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.146e-05/0.1271, allocations: 48.45 kB / 0.6549 GB, free: 7.645 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.1276, allocations: 350.6 kB / 0.6552 GB, free: 7.262 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.1276, allocations: 33.03 kB / 0.6553 GB, free: 7.227 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.1279, allocations: 76.38 kB / 0.6553 GB, free: 7.152 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007019/0.1286, allocations: 0.5212 MB / 0.6558 GB, free: 6.625 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.1286, allocations: 4 kB / 0.6559 GB, free: 6.621 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.1286, allocations: 12 kB / 0.6559 GB, free: 6.609 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.1287, allocations: 12.66 kB / 0.6559 GB, free: 6.598 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/0.1293, allocations: 0.4982 MB / 0.6564 GB, free: 6.098 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003181/0.1325, allocations: 1.588 MB / 0.6579 GB, free: 4.461 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.134, allocations: 0.8689 MB / 0.6588 GB, free: 3.578 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004549/0.1344, allocations: 376 kB / 0.6591 GB, free: 3.211 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.1345, allocations: 4.438 kB / 0.6591 GB, free: 3.207 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1345, allocations: 46.92 kB / 0.6592 GB, free: 3.152 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=52): time 1.683e-06/0.1345, allocations: 0 / 0.6592 GB, free: 3.152 MB / 0.4983 GB Notification: Performance of matching and sorting (n=52): time 0.001374/0.1359, allocations: 0.9881 MB / 0.6601 GB, free: 2.16 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.1359, allocations: 63.84 kB / 0.6602 GB, free: 2.086 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.1362, allocations: 314.6 kB / 0.6605 GB, free: 1.766 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.1363, allocations: 37.7 kB / 0.6605 GB, free: 1.723 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.1364, allocations: 176.7 kB / 0.6607 GB, free: 1.547 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.1365, allocations: 205.1 kB / 0.6609 GB, free: 1.344 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.1367, allocations: 130.7 kB / 0.661 GB, free: 1.211 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1368, allocations: 354.8 kB / 0.6614 GB, free: 0.8555 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/0.1374, allocations: 417.6 kB / 0.6618 GB, free: 456 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/0.1379, allocations: 0.4933 MB / 0.6622 GB, free: 15.92 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.139, allocations: 0.8702 MB / 0.6631 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.139, allocations: 0 / 0.6631 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001327/0.1404, allocations: 1.032 MB / 0.6641 GB, free: 13.98 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1404, allocations: 8.031 kB / 0.6641 GB, free: 13.98 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1404, allocations: 7.938 kB / 0.6641 GB, free: 13.97 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.1404, allocations: 4 kB / 0.6641 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008667/0.1413, allocations: 227.6 kB / 0.6643 GB, free: 13.74 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.1413, allocations: 8 kB / 0.6643 GB, free: 13.73 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.1417, allocations: 91.3 kB / 0.6644 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.1417, allocations: 23.94 kB / 0.6644 GB, free: 13.62 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.0002125/0.1419, allocations: 222.1 kB / 0.6647 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.142, allocations: 39.53 kB / 0.6647 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.1431, allocations: 0.8059 MB / 0.6655 GB, free: 12.55 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.1432, allocations: 4 kB / 0.6655 GB, free: 12.54 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1432, allocations: 0 / 0.6655 GB, free: 12.54 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.1432, allocations: 7.984 kB / 0.6655 GB, free: 12.54 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006211/0.1438, allocations: 0.5831 MB / 0.6661 GB, free: 11.91 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1438, allocations: 0 / 0.6661 GB, free: 11.91 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009672/0.1448, 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.1448, allocations: 4 kB / 0.6663 GB, free: 11.7 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.598e-05/0.1449, allocations: 31.92 kB / 0.6663 GB, free: 11.67 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1449, allocations: 0 / 0.6663 GB, free: 11.67 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1449, allocations: 7.984 kB / 0.6663 GB, free: 11.66 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.1463, allocations: 1.227 MB / 0.6675 GB, free: 10.42 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.1466, allocations: 188.5 kB / 0.6677 GB, free: 10.21 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/0.1467, allocations: 27.92 kB / 0.6677 GB, free: 10.19 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.147, allocations: 47.92 kB / 0.6678 GB, free: 10.14 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.1471, allocations: 32.39 kB / 0.6678 GB, free: 10.11 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.1471, allocations: 16 kB / 0.6678 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001844/0.1473, allocations: 221.9 kB / 0.668 GB, free: 9.879 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1473, allocations: 0 / 0.668 GB, free: 9.879 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003846/0.1477, allocations: 127.9 kB / 0.6681 GB, free: 9.754 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.001683/0.1494, allocations: 1.797 MB / 0.6699 GB, free: 7.93 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.1505, allocations: 0.8298 MB / 0.6707 GB, free: 7.098 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1505, allocations: 0 / 0.6707 GB, free: 7.098 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004499/0.151, allocations: 374.2 kB / 0.6711 GB, free: 6.734 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.1513, allocations: 28.83 kB / 0.6711 GB, free: 6.707 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007389/0.1587, allocations: 6.962 MB / 0.6779 GB, free: 15.62 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.1591, allocations: 0.9014 MB / 0.6788 GB, free: 14.69 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0004681/0.1596, allocations: 251 kB / 0.679 GB, free: 14.45 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.1599, allocations: 127.4 kB / 0.6791 GB, free: 14.32 MB / 0.5295 GB Notification: Performance of SimCode: time 5.61e-07/0.1599, allocations: 3.938 kB / 0.6791 GB, free: 14.32 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.1874, allocations: 9.779 MB / 0.6887 GB, free: 4.734 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.117, allocations: 4.5 kB / 0.6887 GB, free: 4.73 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