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.002193/0.002193, allocations: 109 kB / 16.51 MB, free: 6.707 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.002134/0.002134, allocations: 190.5 kB / 17.43 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.656/1.656, allocations: 222.9 MB / 241.1 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.607/1.607, allocations: 119.3 MB / 410.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 60.12 kB / 0.4904 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9305/0.9321, allocations: 80.69 MB / 0.5692 GB, free: 43.55 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4): time 0.003857/0.936, allocations: 1.876 MB / 0.571 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.9372, allocations: 0.556 MB / 0.5715 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.609e-05/0.9373, allocations: 1.219 kB / 0.5715 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.9375, allocations: 21.44 kB / 0.5716 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.9378, allocations: 64.58 kB / 0.5716 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.9381, allocations: 66.02 kB / 0.5717 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.9392, allocations: 0.7178 MB / 0.5724 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.9394, allocations: 47.42 kB / 0.5724 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003727/0.9398, allocations: 205.7 kB / 0.5726 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004471/0.9402, allocations: 252.9 kB / 0.5729 GB, free: 40.81 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.148e-05/0.9403, allocations: 22.09 kB / 0.5729 GB, free: 40.81 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.835e-05/0.9404, allocations: 22.91 kB / 0.5729 GB, free: 40.81 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.9406, allocations: 113.4 kB / 0.573 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.9409, allocations: 202.4 kB / 0.5732 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005672/0.9415, allocations: 0.5012 MB / 0.5737 GB, free: 40.27 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.9415, allocations: 0 / 0.5737 GB, free: 40.27 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.503e-06/0.9415, allocations: 0 / 0.5737 GB, free: 40.27 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.9415, allocations: 1.062 kB / 0.5737 GB, free: 40.27 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.002616/0.9442, allocations: 0.9451 MB / 0.5746 GB, free: 39.58 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.9442, allocations: 9.156 kB / 0.5746 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.316e-05/0.9443, allocations: 76.75 kB / 0.5747 GB, free: 39.51 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.9445, allocations: 46.06 kB / 0.5747 GB, free: 39.49 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.9451, allocations: 356.3 kB / 0.5751 GB, free: 39.19 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.9451, allocations: 36.42 kB / 0.5751 GB, free: 39.17 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/0.9454, allocations: 67.77 kB / 0.5752 GB, free: 39.14 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009947/0.9464, allocations: 0.5227 MB / 0.5757 GB, free: 38.85 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.9464, allocations: 7.906 kB / 0.5757 GB, free: 38.84 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.446e-05/0.9465, allocations: 15.59 kB / 0.5757 GB, free: 38.83 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.9466, allocations: 15.47 kB / 0.5757 GB, free: 38.82 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009453/0.9475, allocations: 0.5025 MB / 0.5762 GB, free: 38.59 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00417/0.9517, allocations: 1.572 MB / 0.5778 GB, free: 37.64 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.9539, allocations: 0.8739 MB / 0.5786 GB, free: 37.21 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007407/0.9547, allocations: 383.1 kB / 0.579 GB, free: 37.03 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.347e-05/0.9547, allocations: 5.5 kB / 0.579 GB, free: 37.03 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.9548, allocations: 37.5 kB / 0.579 GB, free: 36.98 MB / 462.3 MB Notification: Performance of pre-optimization done (n=52): time 4.499e-06/0.9548, allocations: 0 / 0.579 GB, free: 36.98 MB / 462.3 MB Notification: Performance of matching and sorting (n=52): time 0.00242/0.9572, allocations: 0.9939 MB / 0.58 GB, free: 36.5 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.9573, allocations: 56.88 kB / 0.58 GB, free: 36.43 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.9578, allocations: 318.8 kB / 0.5804 GB, free: 36.23 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.247e-05/0.9579, allocations: 36.23 kB / 0.5804 GB, free: 36.19 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.9581, allocations: 172.4 kB / 0.5805 GB, free: 36.03 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.9583, allocations: 210.2 kB / 0.5808 GB, free: 35.85 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/0.9586, allocations: 137.1 kB / 0.5809 GB, free: 35.77 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.9588, allocations: 356.7 kB / 0.5812 GB, free: 35.43 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007139/0.9595, allocations: 413.4 kB / 0.5816 GB, free: 35.23 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007625/0.9603, allocations: 0.4996 MB / 0.5821 GB, free: 34.94 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.9619, allocations: 0.8782 MB / 0.583 GB, free: 34.47 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.9619, allocations: 0 / 0.583 GB, free: 34.47 MB / 462.3 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002048/0.964, allocations: 1.024 MB / 0.584 GB, free: 33.97 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.964, allocations: 6.344 kB / 0.584 GB, free: 33.97 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.9641, allocations: 5.656 kB / 0.584 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.738e-05/0.9641, allocations: 8.406 kB / 0.584 GB, free: 33.96 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.9654, allocations: 231 kB / 0.5842 GB, free: 33.9 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.382e-05/0.9654, allocations: 3.906 kB / 0.5842 GB, free: 33.9 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005151/0.9659, allocations: 86.19 kB / 0.5843 GB, free: 33.85 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.821e-05/0.966, allocations: 19.88 kB / 0.5843 GB, free: 33.84 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.0003911/0.9664, allocations: 225.9 kB / 0.5845 GB, free: 33.66 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.9665, allocations: 31.56 kB / 0.5846 GB, free: 33.64 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.9682, allocations: 0.8152 MB / 0.5853 GB, free: 33.02 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.9682, allocations: 4 kB / 0.5854 GB, free: 33.02 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.9683, allocations: 0 / 0.5854 GB, free: 33.02 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.9683, allocations: 3.984 kB / 0.5854 GB, free: 33.02 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006717/0.9689, allocations: 0.5793 MB / 0.5859 GB, free: 32.38 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.969, allocations: 0 / 0.5859 GB, free: 32.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009841/0.9699, allocations: 199.8 kB / 0.5861 GB, free: 32.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.97, allocations: 4 kB / 0.5861 GB, free: 32.18 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.749e-05/0.97, allocations: 31.91 kB / 0.5861 GB, free: 32.15 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.97, allocations: 0 / 0.5861 GB, free: 32.15 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9701, allocations: 4 kB / 0.5861 GB, free: 32.15 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.9714, allocations: 1.219 MB / 0.5873 GB, free: 30.91 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.9717, allocations: 196.4 kB / 0.5875 GB, free: 30.7 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-05/0.9718, allocations: 31.91 kB / 0.5876 GB, free: 30.67 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.9721, allocations: 47.94 kB / 0.5876 GB, free: 30.62 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.9722, allocations: 28.39 kB / 0.5876 GB, free: 30.6 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.9723, allocations: 16 kB / 0.5876 GB, free: 30.58 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0002319/0.9725, allocations: 229.9 kB / 0.5879 GB, free: 30.36 MB / 462.3 MB Notification: Performance of sort global known variables: time 6.72e-07/0.9725, allocations: 0 / 0.5879 GB, free: 30.36 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007607/0.9733, allocations: 127.9 kB / 0.588 GB, free: 30.23 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.001646/0.975, allocations: 1.797 MB / 0.5897 GB, free: 28.41 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.9761, allocations: 0.8219 MB / 0.5905 GB, free: 27.59 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.9762, allocations: 0 / 0.5905 GB, free: 27.59 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004091/0.9766, allocations: 378.1 kB / 0.5909 GB, free: 27.22 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.977, allocations: 28.88 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.008489/0.9855, allocations: 7.133 MB / 0.5979 GB, free: 19.93 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.986, allocations: 0.8978 MB / 0.5988 GB, free: 19 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005891/0.9866, allocations: 251 kB / 0.599 GB, free: 18.76 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.9869, allocations: 127.4 kB / 0.5991 GB, free: 18.63 MB / 462.3 MB Notification: Performance of SimCode: time 1.453e-06/0.9869, allocations: 4 kB / 0.5991 GB, free: 18.63 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/1.011, allocations: 9.25 MB / 0.6082 GB, free: 9.582 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004014/1.011, allocations: 257.5 kB / 0.6084 GB, free: 9.328 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/3.777, allocations: 0 / 0.6084 GB, free: 9.328 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