Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.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.OneGeneratorStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad",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.001455/0.001455, allocations: 107.7 kB / 16.92 MB, free: 6.145 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.001293/0.001293, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.295/1.295, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9746/0.9746, allocations: 119.3 MB / 411 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 0.491 GB, free: 13.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5317/0.533, allocations: 80.69 MB / 0.5698 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.003101/0.5361, allocations: 1.8 MB / 0.5716 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008909/0.537, allocations: 0.556 MB / 0.5721 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.5371, allocations: 1.188 kB / 0.5721 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.5373, allocations: 21 kB / 0.5722 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.5375, allocations: 71.84 kB / 0.5722 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.5377, allocations: 77.42 kB / 0.5723 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003231/0.5381, allocations: 347.6 kB / 0.5726 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.95e-05/0.5381, allocations: 26.19 kB / 0.5727 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.5383, allocations: 140.2 kB / 0.5728 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.5385, allocations: 148.7 kB / 0.5729 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.494e-05/0.5386, allocations: 19.34 kB / 0.573 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.5386, allocations: 18.66 kB / 0.573 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.442e-05/0.5387, allocations: 76.59 kB / 0.5731 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.5389, allocations: 110.8 kB / 0.5732 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.5391, allocations: 273.5 kB / 0.5734 GB, free: 40.67 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5391, allocations: 0 / 0.5734 GB, free: 40.67 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5391, allocations: 1.719 kB / 0.5734 GB, free: 40.67 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.5391, allocations: 3.938 kB / 0.5734 GB, free: 40.67 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001151/0.5403, allocations: 0.6267 MB / 0.574 GB, free: 40.14 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.5403, allocations: 12.77 kB / 0.574 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.5404, allocations: 50.61 kB / 0.5741 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.5404, allocations: 24.5 kB / 0.5741 GB, free: 40.08 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.5407, allocations: 269.5 kB / 0.5744 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.5408, allocations: 15.77 kB / 0.5744 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.5409, allocations: 33.05 kB / 0.5744 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.5413, allocations: 310.4 kB / 0.5747 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.5413, allocations: 1.375 kB / 0.5747 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.5413, allocations: 5.344 kB / 0.5747 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.5414, allocations: 5.562 kB / 0.5747 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.5417, allocations: 231.3 kB / 0.575 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.5435, allocations: 1.092 MB / 0.576 GB, free: 38.73 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008189/0.5444, allocations: 445.6 kB / 0.5764 GB, free: 38.51 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.5446, allocations: 164.4 kB / 0.5766 GB, free: 38.42 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.5446, allocations: 6.562 kB / 0.5766 GB, free: 38.42 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.5446, allocations: 39.81 kB / 0.5766 GB, free: 38.37 MB / 462.3 MB Notification: Performance of pre-optimization done (n=23): time 1.693e-06/0.5446, allocations: 4 kB / 0.5766 GB, free: 38.37 MB / 462.3 MB Notification: Performance of matching and sorting (n=23): time 0.0006513/0.5453, allocations: 478.2 kB / 0.5771 GB, free: 38.12 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.5453, allocations: 54.03 kB / 0.5772 GB, free: 38.05 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.5455, allocations: 211.2 kB / 0.5774 GB, free: 37.9 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.5455, allocations: 31.02 kB / 0.5774 GB, free: 37.87 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.5456, allocations: 133.2 kB / 0.5775 GB, free: 37.74 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.5457, allocations: 93.7 kB / 0.5776 GB, free: 37.66 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.5458, allocations: 76.56 kB / 0.5777 GB, free: 37.61 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.179e-05/0.5458, allocations: 333.8 kB / 0.578 GB, free: 37.28 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.5461, allocations: 196.4 kB / 0.5782 GB, free: 37.19 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.5464, allocations: 243.9 kB / 0.5784 GB, free: 37.04 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005356/0.5469, allocations: 426.2 kB / 0.5788 GB, free: 36.81 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5469, allocations: 0 / 0.5788 GB, free: 36.81 MB / 462.3 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007417/0.5477, allocations: 0.4944 MB / 0.5793 GB, free: 36.56 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.5477, allocations: 7.844 kB / 0.5793 GB, free: 36.56 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5477, allocations: 5.859 kB / 0.5793 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.5477, allocations: 2.75 kB / 0.5793 GB, free: 36.55 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.5482, allocations: 114 kB / 0.5794 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5482, allocations: 2.688 kB / 0.5794 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.5484, allocations: 53.47 kB / 0.5795 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.5485, allocations: 7.969 kB / 0.5795 GB, free: 36.48 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (41): * Single equations (assignments): 41 * 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.0001193/0.5486, allocations: 162.5 kB / 0.5796 GB, free: 36.34 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.5486, allocations: 24.88 kB / 0.5797 GB, free: 36.32 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.467e-05/0.5487, allocations: 43.36 kB / 0.5797 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5487, allocations: 2.781 kB / 0.5797 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5487, allocations: 0 / 0.5797 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.5488, allocations: 0 / 0.5797 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.5491, allocations: 357.7 kB / 0.5801 GB, free: 35.97 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.5491, allocations: 3.938 kB / 0.5801 GB, free: 35.97 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004951/0.5496, allocations: 99.98 kB / 0.5802 GB, free: 35.94 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5496, allocations: 1.281 kB / 0.5802 GB, free: 35.94 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.5497, allocations: 14.27 kB / 0.5802 GB, free: 35.93 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5497, allocations: 1.281 kB / 0.5802 GB, free: 35.93 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5497, allocations: 0 / 0.5802 GB, free: 35.93 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006557/0.5503, allocations: 0.6069 MB / 0.5808 GB, free: 35.57 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.5504, allocations: 134.1 kB / 0.5809 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.5505, allocations: 14.3 kB / 0.5809 GB, free: 35.44 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.5507, allocations: 16.83 kB / 0.5809 GB, free: 35.43 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.5507, allocations: 14.28 kB / 0.5809 GB, free: 35.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.5508, allocations: 7.781 kB / 0.5809 GB, free: 35.42 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001051/0.5509, allocations: 159.2 kB / 0.5811 GB, free: 35.31 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5509, allocations: 0 / 0.5811 GB, free: 35.31 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003037/0.5512, allocations: 67.59 kB / 0.5812 GB, free: 35.29 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (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) * 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 (23): * Single equations (assignments): 23 * 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.0008097/0.552, allocations: 1.165 MB / 0.5823 GB, free: 34.38 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005638/0.5526, allocations: 435.6 kB / 0.5827 GB, free: 34.2 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.5526, allocations: 0 / 0.5827 GB, free: 34.2 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.5528, allocations: 163.6 kB / 0.5829 GB, free: 34.13 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.553, allocations: 12.06 kB / 0.5829 GB, free: 34.12 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003897/0.5569, allocations: 4.011 MB / 0.5868 GB, free: 31.26 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.5572, allocations: 0.7909 MB / 0.5876 GB, free: 30.51 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002377/0.5574, allocations: 109.7 kB / 0.5877 GB, free: 30.47 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.5575, allocations: 67.48 kB / 0.5877 GB, free: 30.41 MB / 462.3 MB Notification: Performance of SimCode: time 3.21e-07/0.5575, allocations: 1.094 kB / 0.5877 GB, free: 30.41 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.5806, allocations: 5.079 MB / 0.5927 GB, free: 25.87 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.332/7.912, allocations: 12.12 kB / 0.5927 GB, free: 25.86 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad_fmu --startTime=0 --stopTime=500 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches