Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007695/0.0007695, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001036/0.001806, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007844/0.0007844, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000974/0.001758, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8348/0.8348, allocations: 158.6 MB / 171 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1385/0.9733, allocations: 49.5 MB / 220.5 MB, free: 1.441 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0411/0.0411, allocations: 10.63 MB / 231.9 MB, free: 6.074 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007159/0.04826, allocations: 4.147 MB / 236 MB, free: 1.914 MB / 234.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 237.4 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.957e-05, allocations: 2.312 kB / 237.4 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001528/0.001548, allocations: 0.7837 MB / 238.2 MB, free: 15.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 6.82e-05/0.001616, allocations: 27.91 kB / 238.2 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.001639, allocations: 0 / 238.2 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.001657, allocations: 0 / 238.2 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 1.907e-05/0.001676, allocations: 3.938 kB / 238.2 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.708e-05/0.001733, allocations: 7.984 kB / 238.2 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.83e-05/0.001811, allocations: 16 kB / 238.2 MB, free: 15.72 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.146e-05/0.001873, allocations: 4 kB / 238.2 MB, free: 15.72 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.653e-05/0.001909, allocations: 15.97 kB / 238.2 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.233e-05/0.001962, allocations: 4 kB / 238.3 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.001975, allocations: 0 / 238.3 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.001983, allocations: 8 kB / 238.3 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.001994, allocations: 3.938 kB / 238.3 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.002013, allocations: 4 kB / 238.3 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.741e-05/0.00208, allocations: 15.92 kB / 238.3 MB, free: 15.67 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.375e-05/0.002094, allocations: 0 / 238.3 MB, free: 15.67 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.002096, allocations: 4 kB / 238.3 MB, free: 15.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.002109, allocations: 0 / 238.3 MB, free: 15.66 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002429/0.002351, allocations: 238.5 kB / 238.5 MB, free: 15.4 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.002383, allocations: 11.89 kB / 238.5 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.002415, allocations: 8.938 kB / 238.5 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.393e-05/0.002469, allocations: 117.7 kB / 238.7 MB, free: 15.24 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.002478, allocations: 384 / 238.7 MB, free: 15.24 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.002484, allocations: 384 / 238.7 MB, free: 15.24 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.293e-05/0.002567, allocations: 63.95 kB / 238.7 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.002574, allocations: 4.188 kB / 238.7 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.002579, allocations: 384 / 238.7 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.002584, allocations: 4.312 kB / 238.7 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.616e-05/0.00261, allocations: 49.56 kB / 238.8 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.002842, allocations: 144.3 kB / 238.9 MB, free: 14.95 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.6e-05/0.002888, allocations: 48.28 kB / 239 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.002921, allocations: 50.66 kB / 239 MB, free: 14.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.002927, allocations: 0 / 239 MB, free: 14.82 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.002949, allocations: 30.56 kB / 239 MB, free: 14.79 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.00295, allocations: 0 / 239 MB, free: 14.79 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001344/0.003084, allocations: 134.7 kB / 239.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.003109, allocations: 55.34 kB / 239.2 MB, free: 14.56 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.471e-05/0.003134, allocations: 97.84 kB / 239.3 MB, free: 14.46 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.003143, allocations: 25.7 kB / 239.3 MB, free: 14.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.588e-05/0.003169, allocations: 80.14 kB / 239.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.003186, allocations: 3.953 kB / 239.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.003211, allocations: 17.84 kB / 239.4 MB, free: 14.32 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.003284, allocations: 318.8 kB / 239.8 MB, free: 14 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.003308, allocations: 37.69 kB / 239.8 MB, free: 13.95 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.002e-05/0.003328, allocations: 29.7 kB / 239.8 MB, free: 13.92 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.573e-05/0.003383, allocations: 80.17 kB / 239.9 MB, free: 13.82 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.003385, allocations: 0 / 239.9 MB, free: 13.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.322e-05/0.003448, allocations: 101.1 kB / 240 MB, free: 13.71 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.00348, allocations: 29.7 kB / 240 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.003485, allocations: 3.984 kB / 240 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.003492, allocations: 8.094 kB / 240 MB, free: 13.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.267e-05/0.003525, allocations: 0 / 240 MB, free: 13.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.003528, allocations: 3.938 kB / 240 MB, free: 13.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.257e-05/0.003561, allocations: 4 kB / 240.1 MB, free: 13.65 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.003566, allocations: 0 / 240.1 MB, free: 13.65 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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 5.351e-05/0.00362, allocations: 135.5 kB / 240.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.003635, allocations: 11.98 kB / 240.2 MB, free: 13.49 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.464e-05/0.00365, allocations: 7.109 kB / 240.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.003651, allocations: 0 / 240.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.003654, allocations: 3.938 kB / 240.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.003656, allocations: 4 kB / 240.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.067e-05/0.003727, allocations: 69.86 kB / 240.3 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.003728, allocations: 0 / 240.3 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-06/0.003734, allocations: 7.875 kB / 240.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-06/0.00374, allocations: 7.984 kB / 240.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.003741, allocations: 0 / 240.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.003745, allocations: 0 / 240.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.4e-07/0.003745, allocations: 0 / 240.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.003746, allocations: 0 / 240.3 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.121e-05/0.003837, allocations: 194.9 kB / 240.5 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.003846, allocations: 7.984 kB / 240.5 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.719e-05/0.003884, allocations: 8.016 kB / 240.5 MB, free: 13.14 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.003912, allocations: 4 kB / 240.5 MB, free: 13.14 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.003916, allocations: 4 kB / 240.5 MB, free: 13.13 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.36e-06/0.003921, allocations: 4.859 kB / 240.5 MB, free: 13.12 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.003921, allocations: 0 / 240.5 MB, free: 13.12 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00011/0.004031, allocations: 7.938 kB / 240.5 MB, free: 13.12 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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 6.909e-05/0.0041, allocations: 84.34 kB / 240.6 MB, free: 13.03 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.721e-05/0.004198, allocations: 131.7 kB / 240.7 MB, free: 12.87 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.004201, allocations: 4 kB / 240.7 MB, free: 12.87 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.004243, allocations: 94.03 kB / 240.8 MB, free: 12.75 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.345e-05/0.004336, allocations: 8 kB / 240.8 MB, free: 12.75 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001719/0.004508, allocations: 142.3 kB / 241 MB, free: 12.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.635e-05/0.004535, allocations: 51.36 kB / 241 MB, free: 12.5 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.162e-05/0.004546, allocations: 4 kB / 241 MB, free: 12.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.004588, allocations: 55.38 kB / 241.1 MB, free: 12.45 MB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.004589, allocations: 0 / 241.1 MB, free: 12.45 MB / 250.7 MB Notification: Performance of Templates: time 0.001908/0.006497, allocations: 0.5979 MB / 241.7 MB, free: 11.84 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.562834167852998]