Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.0009286/0.0009286, allocations: 73.88 kB / 21.44 MB, free: 3.059 MB / 18.57 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.0009274/0.0009274, allocations: 176.7 kB / 24.85 MB, free: 8.637 MB / 18.57 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.9402/0.9402, allocations: 158.6 MB / 186.7 MB, free: 2.801 MB / 170.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.04096/0.04096, allocations: 10.65 MB / 249.8 MB, free: 4.164 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_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 321.5 MB, free: 39.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.859e-05, allocations: 2.312 kB / 321.5 MB, free: 39.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.004674/0.004702, allocations: 0.7299 MB / 322.3 MB, free: 38.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001703/0.004873, allocations: 23.92 kB / 322.3 MB, free: 38.47 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.00491, allocations: 0 / 322.3 MB, free: 38.47 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.579e-05/0.004936, allocations: 0 / 322.3 MB, free: 38.47 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.014e-05/0.004986, allocations: 3.984 kB / 322.3 MB, free: 38.47 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.005119, allocations: 8 kB / 322.3 MB, free: 38.46 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.842e-05/0.005207, allocations: 15.98 kB / 322.3 MB, free: 38.45 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.657e-05/0.005304, allocations: 7.375 kB / 322.3 MB, free: 38.44 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.005338, allocations: 8 kB / 322.3 MB, free: 38.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.635e-05/0.005395, allocations: 11.91 kB / 322.3 MB, free: 38.42 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.005409, allocations: 7.938 kB / 322.4 MB, free: 38.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-06/0.005415, allocations: 4 kB / 322.4 MB, free: 38.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.00543, allocations: 4 kB / 322.4 MB, free: 38.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.005452, allocations: 4 kB / 322.4 MB, free: 38.4 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.117e-05/0.005523, allocations: 11.98 kB / 322.4 MB, free: 38.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.005527, allocations: 0 / 322.4 MB, free: 38.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005528, allocations: 0 / 322.4 MB, free: 38.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.005532, allocations: 0 / 322.4 MB, free: 38.39 MB / 282.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.0002157/0.005748, allocations: 370.1 kB / 322.7 MB, free: 37.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.005784, allocations: 8.031 kB / 322.7 MB, free: 37.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.005816, allocations: 7.344 kB / 322.8 MB, free: 37.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.492e-05/0.005861, allocations: 108.6 kB / 322.9 MB, free: 37.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.005871, allocations: 8.375 kB / 322.9 MB, free: 37.83 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.005879, allocations: 4.359 kB / 322.9 MB, free: 37.83 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.333e-05/0.005962, allocations: 67.95 kB / 322.9 MB, free: 37.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.005969, allocations: 192 / 322.9 MB, free: 37.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.005978, allocations: 4.375 kB / 322.9 MB, free: 37.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.005982, allocations: 4.312 kB / 322.9 MB, free: 37.74 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.899e-05/0.006001, allocations: 37.58 kB / 323 MB, free: 37.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.006252, allocations: 236.4 kB / 323.2 MB, free: 37.44 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.228e-05/0.006304, allocations: 52.77 kB / 323.3 MB, free: 37.37 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.006331, allocations: 53.48 kB / 323.3 MB, free: 37.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-06/0.006336, allocations: 0 / 323.3 MB, free: 37.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.006355, allocations: 37.33 kB / 323.4 MB, free: 37.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.006356, allocations: 0 / 323.4 MB, free: 37.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001539/0.00651, allocations: 138.7 kB / 323.5 MB, free: 37.1 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.006535, allocations: 81.09 kB / 323.6 MB, free: 37 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.734e-05/0.006553, allocations: 142.2 kB / 323.7 MB, free: 36.85 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.006559, allocations: 25.7 kB / 323.7 MB, free: 36.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.013e-05/0.00658, allocations: 126.9 kB / 323.9 MB, free: 36.69 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.006598, allocations: 8.297 kB / 323.9 MB, free: 36.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.006627, allocations: 27.5 kB / 323.9 MB, free: 36.65 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.204e-05/0.006669, allocations: 492.1 kB / 324.4 MB, free: 36.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.006688, allocations: 33.69 kB / 324.4 MB, free: 36.12 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.465e-05/0.006703, allocations: 29.7 kB / 324.4 MB, free: 36.08 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.24e-05/0.006745, allocations: 87 kB / 324.5 MB, free: 35.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006747, allocations: 0 / 324.5 MB, free: 35.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.617e-05/0.006823, allocations: 102 kB / 324.6 MB, free: 35.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.006846, allocations: 29.7 kB / 324.7 MB, free: 35.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.00685, allocations: 0 / 324.7 MB, free: 35.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.006859, allocations: 4.094 kB / 324.7 MB, free: 35.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.199e-05/0.006891, allocations: 7.938 kB / 324.7 MB, free: 35.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.006894, allocations: 3.984 kB / 324.7 MB, free: 35.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.006931, allocations: 4 kB / 324.7 MB, free: 35.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.006938, allocations: 0 / 324.7 MB, free: 35.81 MB / 282.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 4.895e-05/0.006987, allocations: 190.3 kB / 324.9 MB, free: 35.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.007009, allocations: 11.95 kB / 324.9 MB, free: 35.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.561e-05/0.007024, allocations: 3.156 kB / 324.9 MB, free: 35.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.007026, allocations: 3.938 kB / 324.9 MB, free: 35.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.003018/0.01004, allocations: 3.938 kB / 324.9 MB, free: 35.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01005, allocations: 0 / 324.9 MB, free: 35.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.945e-05/0.01015, allocations: 101.2 kB / 325 MB, free: 35.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01015, allocations: 0 / 325 MB, free: 35.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/0.01016, allocations: 3.938 kB / 325 MB, free: 35.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01016, allocations: 0 / 325 MB, free: 35.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.01017, allocations: 7.984 kB / 325 MB, free: 35.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01017, allocations: 0 / 325 MB, free: 35.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01017, allocations: 0 / 325 MB, free: 35.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.01045, allocations: 1.463 MB / 326.5 MB, free: 33.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-06/0.01045, allocations: 0 / 326.5 MB, free: 33.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.01047, allocations: 3.984 kB / 326.5 MB, free: 33.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.206e-05/0.01053, allocations: 8.031 kB / 326.5 MB, free: 33.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.01057, allocations: 4 kB / 326.5 MB, free: 33.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.01057, allocations: 0 / 326.5 MB, free: 33.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.399e-05/0.01059, allocations: 123.2 kB / 326.6 MB, free: 33.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01059, allocations: 0 / 326.6 MB, free: 33.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002983/0.01088, allocations: 8 kB / 326.6 MB, free: 33.75 MB / 282.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 9.7e-05/0.01098, allocations: 99.23 kB / 326.7 MB, free: 33.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.01109, allocations: 138.4 kB / 326.8 MB, free: 33.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01109, allocations: 0 / 326.8 MB, free: 33.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.86e-05/0.01113, allocations: 100.8 kB / 326.9 MB, free: 33.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.01132, allocations: 11.94 kB / 326.9 MB, free: 33.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.01155, allocations: 282.3 kB / 327.2 MB, free: 33.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.312e-05/0.01157, allocations: 55.36 kB / 327.3 MB, free: 32.94 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.451e-05/0.01159, allocations: 0 / 327.3 MB, free: 32.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.01163, allocations: 78.19 kB / 327.3 MB, free: 32.86 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01163, allocations: 0 / 327.3 MB, free: 32.86 MB / 282.7 MB Notification: Performance of Templates: time 0.005483/0.01711, allocations: 0.6886 MB / 328 MB, free: 32.22 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_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.948487483896315]