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.002309/0.00231, allocations: 99.33 kB / 16.5 MB, free: 6.641 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.003055/0.003055, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.691/1.691, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.506/1.506, allocations: 119.3 MB / 410.6 MB, free: 9.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.89 kB / 0.4904 GB, free: 14.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8358/0.8377, allocations: 80.68 MB / 0.5692 GB, free: 43.47 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.003457/0.8413, allocations: 1.858 MB / 0.571 GB, free: 42 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.8425, allocations: 0.5538 MB / 0.5715 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.335e-05/0.8426, allocations: 0 / 0.5715 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.8428, allocations: 17.22 kB / 0.5715 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.843, allocations: 64.88 kB / 0.5716 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.8434, allocations: 74.72 kB / 0.5717 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007943/0.8442, allocations: 0.7108 MB / 0.5724 GB, free: 41.03 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.8443, allocations: 50.47 kB / 0.5724 GB, free: 41 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.8446, allocations: 200.2 kB / 0.5726 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005373/0.8451, allocations: 254.5 kB / 0.5728 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.8453, allocations: 22.66 kB / 0.5729 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.781e-05/0.8454, allocations: 21.75 kB / 0.5729 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.8456, allocations: 120.5 kB / 0.573 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002425/0.8458, allocations: 192.2 kB / 0.5732 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005447/0.8464, allocations: 0.5043 MB / 0.5737 GB, free: 40.21 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.8464, allocations: 0 / 0.5737 GB, free: 40.21 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.945e-06/0.8464, allocations: 8.859 kB / 0.5737 GB, free: 40.2 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.8464, allocations: 0 / 0.5737 GB, free: 40.2 MB / 462.3 MB 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.002309/0.8487, allocations: 0.9416 MB / 0.5746 GB, free: 39.52 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.8488, allocations: 9.219 kB / 0.5746 GB, free: 39.52 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.8489, allocations: 75.78 kB / 0.5747 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.849, allocations: 42.59 kB / 0.5747 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006348/0.8497, allocations: 360 kB / 0.5751 GB, free: 39.13 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.8498, allocations: 33.58 kB / 0.5751 GB, free: 39.11 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003092/0.8502, allocations: 71.22 kB / 0.5752 GB, free: 39.08 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.8513, allocations: 0.5215 MB / 0.5757 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.8513, allocations: 9.703 kB / 0.5757 GB, free: 38.78 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/0.8514, allocations: 11.56 kB / 0.5757 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/0.8514, allocations: 10.69 kB / 0.5757 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008059/0.8522, allocations: 0.5065 MB / 0.5762 GB, free: 38.53 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003418/0.8556, allocations: 1.576 MB / 0.5777 GB, free: 37.57 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/0.8582, allocations: 0.8747 MB / 0.5786 GB, free: 37.14 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.8596, allocations: 382.4 kB / 0.579 GB, free: 36.96 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.8598, allocations: 9.438 kB / 0.579 GB, free: 36.95 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.114e-05/0.8599, allocations: 45.42 kB / 0.579 GB, free: 36.9 MB / 462.3 MB Notification: Performance of pre-optimization done (n=52): time 7.915e-06/0.8599, allocations: 0 / 0.579 GB, free: 36.9 MB / 462.3 MB Notification: Performance of matching and sorting (n=52): time 0.004669/0.8646, allocations: 0.9898 MB / 0.58 GB, free: 36.42 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.8647, allocations: 56.91 kB / 0.58 GB, free: 36.36 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.865, allocations: 314.8 kB / 0.5803 GB, free: 36.15 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/0.8651, allocations: 40.23 kB / 0.5804 GB, free: 36.11 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.8653, allocations: 173.1 kB / 0.5805 GB, free: 35.95 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.8655, allocations: 209 kB / 0.5807 GB, free: 35.77 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.8658, allocations: 129.8 kB / 0.5809 GB, free: 35.7 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.866, allocations: 356.7 kB / 0.5812 GB, free: 35.36 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008407/0.8668, allocations: 412.8 kB / 0.5816 GB, free: 35.16 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009029/0.8677, allocations: 0.4962 MB / 0.5821 GB, free: 34.88 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.8694, allocations: 0.8735 MB / 0.5829 GB, free: 34.41 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.8695, allocations: 0 / 0.5829 GB, free: 34.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002468/0.8719, allocations: 1.029 MB / 0.5839 GB, free: 33.9 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.872, allocations: 5.406 kB / 0.5839 GB, free: 33.9 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.872, allocations: 6 kB / 0.5839 GB, free: 33.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.571e-05/0.8721, allocations: 8.812 kB / 0.5839 GB, free: 33.89 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.8732, allocations: 233.8 kB / 0.5842 GB, free: 33.83 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.8732, allocations: 5.406 kB / 0.5842 GB, free: 33.83 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.8737, allocations: 92.77 kB / 0.5843 GB, free: 33.77 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-05/0.8738, allocations: 20.16 kB / 0.5843 GB, free: 33.77 MB / 462.3 MB 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.0003498/0.8741, allocations: 222.7 kB / 0.5845 GB, free: 33.59 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.8743, allocations: 31.84 kB / 0.5845 GB, free: 33.57 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.8759, allocations: 0.8054 MB / 0.5853 GB, free: 33.04 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.8759, allocations: 8 kB / 0.5853 GB, free: 33.03 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.8759, allocations: 0 / 0.5853 GB, free: 33.03 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.8759, allocations: 3.984 kB / 0.5853 GB, free: 33.03 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00068/0.8766, allocations: 0.5755 MB / 0.5859 GB, free: 32.4 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.8766, allocations: 0 / 0.5859 GB, free: 32.4 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.8777, allocations: 211.8 kB / 0.5861 GB, free: 32.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.8777, allocations: 0 / 0.5861 GB, free: 32.19 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-05/0.8778, allocations: 31.92 kB / 0.5861 GB, free: 32.16 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.8778, allocations: 4 kB / 0.5861 GB, free: 32.16 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.8778, allocations: 0 / 0.5861 GB, free: 32.16 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.8792, allocations: 1.227 MB / 0.5873 GB, free: 30.91 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.8795, allocations: 188.5 kB / 0.5875 GB, free: 30.71 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.611e-05/0.8796, allocations: 31.92 kB / 0.5875 GB, free: 30.68 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.8799, allocations: 47.92 kB / 0.5876 GB, free: 30.63 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.447e-05/0.88, allocations: 32.39 kB / 0.5876 GB, free: 30.6 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.8801, allocations: 8 kB / 0.5876 GB, free: 30.59 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.000244/0.8803, allocations: 225.9 kB / 0.5878 GB, free: 30.38 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.21e-07/0.8803, allocations: 4 kB / 0.5878 GB, free: 30.37 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0008218/0.8812, allocations: 131.9 kB / 0.588 GB, free: 30.24 MB / 462.3 MB 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.001591/0.8828, allocations: 1.793 MB / 0.5897 GB, free: 28.42 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.8839, allocations: 0.8298 MB / 0.5905 GB, free: 27.59 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8839, allocations: 4 kB / 0.5905 GB, free: 27.59 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.8843, allocations: 366.2 kB / 0.5909 GB, free: 27.23 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006388/0.885, allocations: 32.83 kB / 0.5909 GB, free: 27.2 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.8966, allocations: 7.129 MB / 0.5979 GB, free: 19.94 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.8972, allocations: 0.9017 MB / 0.5987 GB, free: 19.01 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006472/0.8979, allocations: 251 kB / 0.599 GB, free: 18.77 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/0.8982, allocations: 127.4 kB / 0.5991 GB, free: 18.64 MB / 462.3 MB Notification: Performance of SimCode: time 3.286e-06/0.8982, allocations: 0 / 0.5991 GB, free: 18.64 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.9212, allocations: 9.249 MB / 0.6081 GB, free: 9.59 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.9215, allocations: 240.3 kB / 0.6084 GB, free: 9.34 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.633/3.554, allocations: 0 / 0.6084 GB, free: 9.34 MB / 462.3 MB (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","../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches