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.001487/0.001487, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001496/0.001496, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.441/1.441, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.14/1.14, allocations: 119.3 MB / 410.7 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 63.89 kB / 0.4905 GB, free: 13.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6033/0.6048, allocations: 80.69 MB / 0.5694 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4): time 0.003422/0.6083, allocations: 1.877 MB / 0.5712 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009366/0.6092, allocations: 0.5452 MB / 0.5717 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.6093, allocations: 7.938 kB / 0.5717 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.6094, allocations: 16.94 kB / 0.5717 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.6096, allocations: 56.56 kB / 0.5718 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.6099, allocations: 74.81 kB / 0.5719 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006188/0.6105, allocations: 0.6559 MB / 0.5725 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.6107, allocations: 51 kB / 0.5726 GB, free: 41.01 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004193/0.6111, allocations: 249.5 kB / 0.5728 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.6115, allocations: 283.4 kB / 0.5731 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.955e-05/0.6116, allocations: 47.09 kB / 0.5731 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.6117, allocations: 39.62 kB / 0.5731 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.6119, allocations: 150.5 kB / 0.5733 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.6122, allocations: 208 kB / 0.5735 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.6127, allocations: 0.5338 MB / 0.574 GB, free: 40.14 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.6127, allocations: 0 / 0.574 GB, free: 40.14 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.427e-06/0.6127, allocations: 1.344 kB / 0.574 GB, free: 40.14 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.6127, allocations: 0 / 0.574 GB, free: 40.14 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.002143/0.6149, allocations: 0.9449 MB / 0.5749 GB, free: 39.45 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.6149, allocations: 10.12 kB / 0.5749 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.6151, allocations: 79.38 kB / 0.575 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.6152, allocations: 46.84 kB / 0.5751 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005713/0.6158, allocations: 355.4 kB / 0.5754 GB, free: 39.05 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.6158, allocations: 28.91 kB / 0.5754 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/0.6161, allocations: 67.89 kB / 0.5755 GB, free: 39.02 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008799/0.617, allocations: 0.5213 MB / 0.576 GB, free: 38.71 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.617, allocations: 13.38 kB / 0.576 GB, free: 38.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.6171, allocations: 11.12 kB / 0.576 GB, free: 38.69 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/0.6171, allocations: 15.88 kB / 0.576 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000736/0.6178, allocations: 0.5021 MB / 0.5765 GB, free: 38.45 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/0.6213, allocations: 1.572 MB / 0.5781 GB, free: 37.5 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.6228, allocations: 0.8683 MB / 0.5789 GB, free: 37.08 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005976/0.6234, allocations: 384.1 kB / 0.5793 GB, free: 36.89 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.269e-05/0.6235, allocations: 13.58 kB / 0.5793 GB, free: 36.89 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.6235, allocations: 42.31 kB / 0.5793 GB, free: 36.84 MB / 462.3 MB Notification: Performance of pre-optimization done (n=52): time 4.118e-06/0.6236, allocations: 0 / 0.5793 GB, free: 36.84 MB / 462.3 MB Notification: Performance of matching and sorting (n=52): time 0.001951/0.6255, allocations: 0.9965 MB / 0.5803 GB, free: 36.35 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/0.6256, allocations: 56.91 kB / 0.5804 GB, free: 36.29 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007261/0.6264, allocations: 309.5 kB / 0.5807 GB, free: 36.09 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.6266, allocations: 37.48 kB / 0.5807 GB, free: 36.05 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.6268, allocations: 171.9 kB / 0.5809 GB, free: 35.89 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.6269, allocations: 206.2 kB / 0.5811 GB, free: 35.71 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.6272, allocations: 133.8 kB / 0.5812 GB, free: 35.64 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.744e-05/0.6273, allocations: 360.7 kB / 0.5815 GB, free: 35.29 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006623/0.6279, allocations: 412.1 kB / 0.5819 GB, free: 35.1 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007793/0.6287, allocations: 0.4963 MB / 0.5824 GB, free: 34.81 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.6301, allocations: 0.8769 MB / 0.5833 GB, free: 34.34 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.6301, allocations: 0.7812 kB / 0.5833 GB, free: 34.34 MB / 462.3 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001566/0.6316, allocations: 1.032 MB / 0.5843 GB, free: 33.83 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.6317, allocations: 7.25 kB / 0.5843 GB, free: 33.83 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.6317, allocations: 6.125 kB / 0.5843 GB, free: 33.82 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.6317, allocations: 4.312 kB / 0.5843 GB, free: 33.82 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.6328, allocations: 230.6 kB / 0.5845 GB, free: 33.77 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/0.6328, allocations: 8.219 kB / 0.5845 GB, free: 33.76 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.6333, allocations: 81.41 kB / 0.5846 GB, free: 33.71 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/0.6333, allocations: 24.25 kB / 0.5846 GB, free: 33.7 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.0003013/0.6336, allocations: 226.1 kB / 0.5848 GB, free: 33.52 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.873e-05/0.6337, allocations: 35.78 kB / 0.5849 GB, free: 33.5 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.6349, allocations: 0.8013 MB / 0.5856 GB, free: 32.83 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.6349, allocations: 4 kB / 0.5856 GB, free: 32.83 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6349, allocations: 4 kB / 0.5857 GB, free: 32.82 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.6349, allocations: 7.922 kB / 0.5857 GB, free: 32.82 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.6355, allocations: 0.5715 MB / 0.5862 GB, free: 32.19 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.6355, allocations: 0 / 0.5862 GB, free: 32.19 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009748/0.6365, allocations: 203.8 kB / 0.5864 GB, free: 31.99 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.6365, allocations: 4 kB / 0.5864 GB, free: 31.99 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/0.6366, allocations: 35.91 kB / 0.5865 GB, free: 31.95 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.6366, allocations: 8 kB / 0.5865 GB, free: 31.95 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6366, allocations: 0 / 0.5865 GB, free: 31.95 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.6378, allocations: 1.216 MB / 0.5876 GB, free: 30.71 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.6381, allocations: 192.4 kB / 0.5878 GB, free: 30.51 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.108e-05/0.6382, allocations: 35.89 kB / 0.5879 GB, free: 30.47 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.6385, allocations: 39.94 kB / 0.5879 GB, free: 30.43 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.6386, allocations: 36.39 kB / 0.5879 GB, free: 30.4 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.6386, allocations: 15.94 kB / 0.588 GB, free: 30.38 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001574/0.6387, allocations: 229.8 kB / 0.5882 GB, free: 30.16 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.6388, allocations: 0 / 0.5882 GB, free: 30.16 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004546/0.6392, allocations: 127.9 kB / 0.5883 GB, free: 30.04 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.001512/0.6407, allocations: 1.801 MB / 0.5901 GB, free: 28.21 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.6421, allocations: 1.052 MB / 0.5911 GB, free: 27.16 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6421, allocations: 0 / 0.5911 GB, free: 27.16 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.6425, allocations: 374.2 kB / 0.5914 GB, free: 26.79 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.6428, allocations: 20.89 kB / 0.5915 GB, free: 26.77 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007441/0.6503, allocations: 7.132 MB / 0.5984 GB, free: 19.5 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.6509, allocations: 0.9014 MB / 0.5993 GB, free: 18.58 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006441/0.6516, allocations: 243 kB / 0.5995 GB, free: 18.34 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.6519, allocations: 127.4 kB / 0.5997 GB, free: 18.21 MB / 462.3 MB Notification: Performance of SimCode: time 1.213e-06/0.6519, allocations: 4 kB / 0.5997 GB, free: 18.21 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.6735, allocations: 9.382 MB / 0.6088 GB, free: 9.059 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.6738, allocations: 265.5 kB / 0.6091 GB, free: 8.797 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/2.957, allocations: 0 / 0.6091 GB, free: 8.797 MB / 462.3 MB (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","../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches