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.001034/0.001034, allocations: 71.77 kB / 20.73 MB, free: 3.758 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.001207/0.001207, allocations: 173.3 kB / 24.15 MB, free: 344 kB / 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.9294/0.9294, allocations: 158.6 MB / 186 MB, free: 2.773 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.04177/0.04177, allocations: 10.66 MB / 249 MB, free: 4.355 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 2.103e-06/2.103e-06, allocations: 0 / 271.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.693e-05, allocations: 2.312 kB / 271.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002637/0.002664, allocations: 0.776 MB / 272.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002211/0.002885, allocations: 23.91 kB / 272.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.002919, allocations: 0 / 272.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.002948, allocations: 3.938 kB / 272.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.827e-05/0.002996, allocations: 0 / 272.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.003151, allocations: 11.98 kB / 272.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.003253, allocations: 19.98 kB / 272.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.784e-05/0.003331, allocations: 4 kB / 272.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.478e-05/0.003375, allocations: 11.94 kB / 272.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.565e-05/0.003441, allocations: 7.984 kB / 272.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.003457, allocations: 0 / 272.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.343e-06/0.003464, allocations: 0 / 272.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.003481, allocations: 4 kB / 272.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.003509, allocations: 7.984 kB / 272.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.851e-05/0.003588, allocations: 11.98 kB / 272.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.00359, allocations: 0 / 272.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.003592, allocations: 0 / 272.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.003595, allocations: 4 kB / 272.6 MB, free: 12.7 MB / 266.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.0002808/0.003876, allocations: 246.4 kB / 272.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.003919, allocations: 12.03 kB / 272.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.003952, allocations: 0.9375 kB / 272.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.443e-05/0.004026, allocations: 113.7 kB / 273 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.004038, allocations: 384 / 273 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.004048, allocations: 4.375 kB / 273 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.004161, allocations: 67.95 kB / 273.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.00417, allocations: 192 / 273.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.004179, allocations: 4.312 kB / 273.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.004185, allocations: 384 / 273.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.667e-05/0.004222, allocations: 45.62 kB / 273.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.004526, allocations: 148.6 kB / 273.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.184e-05/0.004608, allocations: 60.27 kB / 273.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/0.004644, allocations: 38.66 kB / 273.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.004653, allocations: 4 kB / 273.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.004681, allocations: 30.56 kB / 273.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.004683, allocations: 0 / 273.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.000183/0.004866, allocations: 134.7 kB / 273.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.00491, allocations: 81.05 kB / 273.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.421e-05/0.004944, allocations: 93.98 kB / 273.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.004961, allocations: 29.69 kB / 273.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.004996, allocations: 88.09 kB / 273.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.005015, allocations: 3.953 kB / 273.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.005053, allocations: 17.72 kB / 273.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.435e-05/0.005148, allocations: 314.8 kB / 274.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/0.005178, allocations: 33.69 kB / 274.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.288e-05/0.005201, allocations: 33.7 kB / 274.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.332e-05/0.005264, allocations: 68.25 kB / 274.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005266, allocations: 4.062 kB / 274.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001029/0.005369, allocations: 105 kB / 274.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.005408, allocations: 33.7 kB / 274.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.005415, allocations: 3.984 kB / 274.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.005429, allocations: 0 / 274.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.815e-05/0.005467, allocations: 0 / 274.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.005474, allocations: 7.922 kB / 274.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.005523, allocations: 4 kB / 274.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.005536, allocations: 0 / 274.4 MB, free: 10.65 MB / 266.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 8.416e-05/0.005621, allocations: 139.5 kB / 274.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.005646, allocations: 8.031 kB / 274.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.501e-05/0.005661, allocations: 7.141 kB / 274.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.005663, allocations: 0 / 274.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.005666, allocations: 3.938 kB / 274.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.005669, allocations: 0 / 274.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.005781, allocations: 61.91 kB / 274.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.005782, allocations: 3.938 kB / 274.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.005802, allocations: 4 kB / 274.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.005806, allocations: 0 / 274.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.005814, allocations: 4 kB / 274.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.005816, allocations: 0 / 274.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.005819, allocations: 11.92 kB / 274.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.006285, allocations: 0.9972 MB / 275.7 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.006296, allocations: 11.92 kB / 275.7 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.006309, allocations: 0 / 275.7 MB, free: 9.293 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.006386, allocations: 4 kB / 275.7 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.006422, allocations: 0 / 275.7 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.006428, allocations: 0 / 275.7 MB, free: 9.289 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.15e-05/0.00644, allocations: 4.859 kB / 275.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.00644, allocations: 0 / 275.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000323/0.006763, allocations: 8 kB / 275.7 MB, free: 9.273 MB / 266.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 0.0001055/0.006868, allocations: 84.44 kB / 275.8 MB, free: 9.184 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.007023, allocations: 131.7 kB / 275.9 MB, free: 9.027 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.007026, allocations: 0 / 275.9 MB, free: 9.027 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.87e-05/0.007095, allocations: 97.91 kB / 276 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.007243, allocations: 7.938 kB / 276 MB, free: 8.902 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.007549, allocations: 229.2 kB / 276.2 MB, free: 8.633 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.762e-05/0.007586, allocations: 51.36 kB / 276.3 MB, free: 8.562 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.317e-05/0.007599, allocations: 0 / 276.3 MB, free: 8.562 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.00766, allocations: 63.5 kB / 276.3 MB, free: 8.5 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.007661, allocations: 4 kB / 276.4 MB, free: 8.496 MB / 266.7 MB Notification: Performance of Templates: time 0.003098/0.01076, allocations: 0.6647 MB / 277 MB, free: 7.828 MB / 266.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 -s gbode -gbm=radauIIA3 -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.614446508232504]