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.001267/0.001267, allocations: 77.97 kB / 20.66 MB, free: 3.836 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.001352/0.001352, allocations: 173 kB / 24.07 MB, free: 444 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.8876/0.8876, allocations: 158.6 MB / 186 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.04886/0.04886, allocations: 10.66 MB / 249 MB, free: 4.289 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.733e-06/1.733e-06, allocations: 3.984 kB / 320.8 MB, free: 39.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.269e-05, allocations: 2.312 kB / 320.8 MB, free: 39.24 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001227/0.00125, allocations: 0.7296 MB / 321.5 MB, free: 38.51 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001438/0.001394, allocations: 27.89 kB / 321.5 MB, free: 38.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.101e-05/0.001425, allocations: 0 / 321.5 MB, free: 38.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.001447, allocations: 0 / 321.5 MB, free: 38.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.063e-05/0.001487, allocations: 8 kB / 321.5 MB, free: 38.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.003704, allocations: 0 / 321.5 MB, free: 38.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.003808, allocations: 23.92 kB / 321.5 MB, free: 38.45 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.494e-05/0.003903, allocations: 7.375 kB / 321.5 MB, free: 38.45 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.149e-05/0.003944, allocations: 11.98 kB / 321.6 MB, free: 38.44 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.82e-05/0.004012, allocations: 3.938 kB / 321.6 MB, free: 38.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.004029, allocations: 4 kB / 321.6 MB, free: 38.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-06/0.004038, allocations: 0 / 321.6 MB, free: 38.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.004053, allocations: 0 / 321.6 MB, free: 38.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.004078, allocations: 11.98 kB / 321.6 MB, free: 38.42 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.939e-05/0.004167, allocations: 19.97 kB / 321.6 MB, free: 38.4 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.004171, allocations: 0 / 321.6 MB, free: 38.4 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.004173, allocations: 0 / 321.6 MB, free: 38.4 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.004177, allocations: 0 / 321.6 MB, free: 38.4 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.0002273/0.004404, allocations: 370.1 kB / 322 MB, free: 37.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.004462, allocations: 8.031 kB / 322 MB, free: 37.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.004496, allocations: 7.344 kB / 322 MB, free: 37.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.531e-05/0.004532, allocations: 108.6 kB / 322.1 MB, free: 37.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.004541, allocations: 4.375 kB / 322.1 MB, free: 37.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-06/0.004548, allocations: 384 / 322.1 MB, free: 37.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.852e-05/0.004626, allocations: 71.89 kB / 322.2 MB, free: 37.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.004633, allocations: 4.188 kB / 322.2 MB, free: 37.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.004639, allocations: 4.375 kB / 322.2 MB, free: 37.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.004643, allocations: 384 / 322.2 MB, free: 37.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.522e-05/0.004658, allocations: 41.56 kB / 322.2 MB, free: 37.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.004882, allocations: 228.4 kB / 322.4 MB, free: 37.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.422e-05/0.004916, allocations: 56.8 kB / 322.5 MB, free: 37.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.245e-05/0.004938, allocations: 49.44 kB / 322.5 MB, free: 37.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.004945, allocations: 3.938 kB / 322.5 MB, free: 37.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.004963, allocations: 37.38 kB / 322.6 MB, free: 37.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.004964, allocations: 0 / 322.6 MB, free: 37.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001281/0.005092, allocations: 142.7 kB / 322.7 MB, free: 37.11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.005111, allocations: 77.11 kB / 322.8 MB, free: 37.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.512e-05/0.005126, allocations: 142.2 kB / 322.9 MB, free: 36.86 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.601e-06/0.005132, allocations: 25.7 kB / 323 MB, free: 36.83 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.624e-05/0.005148, allocations: 126.9 kB / 323.1 MB, free: 36.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.005163, allocations: 8.297 kB / 323.1 MB, free: 36.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.005184, allocations: 27.36 kB / 323.1 MB, free: 36.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.789e-05/0.005222, allocations: 492.1 kB / 323.6 MB, free: 36.17 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.005233, allocations: 29.7 kB / 323.6 MB, free: 36.13 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.156e-05/0.005245, allocations: 41.75 kB / 323.7 MB, free: 36.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/0.005276, allocations: 75.09 kB / 323.7 MB, free: 36 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.005277, allocations: 0 / 323.7 MB, free: 36 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.328e-05/0.005321, allocations: 101.1 kB / 323.8 MB, free: 35.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.005347, allocations: 29.7 kB / 323.9 MB, free: 35.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.005351, allocations: 0 / 323.9 MB, free: 35.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.005362, allocations: 4 kB / 323.9 MB, free: 35.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.249e-05/0.005395, allocations: 7.922 kB / 323.9 MB, free: 35.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-06/0.005397, allocations: 0 / 323.9 MB, free: 35.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.005424, allocations: 4 kB / 323.9 MB, free: 35.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.00543, allocations: 4.094 kB / 323.9 MB, free: 35.82 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 3.975e-05/0.00547, allocations: 190.2 kB / 324.1 MB, free: 35.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.005482, allocations: 7.953 kB / 324.1 MB, free: 35.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.82e-05/0.005501, allocations: 3.156 kB / 324.1 MB, free: 35.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.005502, allocations: 0 / 324.1 MB, free: 35.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.005504, allocations: 3.938 kB / 324.1 MB, free: 35.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005507, allocations: 3.984 kB / 324.1 MB, free: 35.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.175e-05/0.005569, allocations: 97.25 kB / 324.2 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.00557, allocations: 2.5 kB / 324.2 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-06/0.005573, allocations: 0 / 324.2 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-07/0.005574, allocations: 7.938 kB / 324.2 MB, free: 35.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.005578, allocations: 4 kB / 324.2 MB, free: 35.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.005579, allocations: 0 / 324.2 MB, free: 35.47 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.005579, allocations: 0 / 324.2 MB, free: 35.47 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.005774, allocations: 1.467 MB / 325.7 MB, free: 33.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-06/0.005778, allocations: 3.984 kB / 325.7 MB, free: 33.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-06/0.005785, allocations: 0 / 325.7 MB, free: 33.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-05/0.005818, allocations: 8 kB / 325.7 MB, free: 33.9 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.005848, allocations: 3.984 kB / 325.7 MB, free: 33.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.00585, allocations: 0 / 325.7 MB, free: 33.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.131e-05/0.005862, allocations: 123.2 kB / 325.8 MB, free: 33.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005862, allocations: 0 / 325.8 MB, free: 33.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001904/0.006052, allocations: 8 kB / 325.8 MB, free: 33.77 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 6.606e-05/0.006118, allocations: 99.23 kB / 325.9 MB, free: 33.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.539e-05/0.006194, allocations: 138.4 kB / 326 MB, free: 33.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.006195, allocations: 0 / 326 MB, free: 33.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.537e-05/0.00622, allocations: 96.78 kB / 326.1 MB, free: 33.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.006348, allocations: 12.81 kB / 326.1 MB, free: 33.37 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001602/0.006508, allocations: 294.4 kB / 326.4 MB, free: 33.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.574e-05/0.006523, allocations: 55.36 kB / 326.5 MB, free: 32.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.566e-06/0.006532, allocations: 0 / 326.5 MB, free: 32.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.006564, allocations: 74.2 kB / 326.6 MB, free: 32.88 MB / 282.7 MB Notification: Performance of SimCode: time 3.51e-07/0.006565, allocations: 0 / 326.6 MB, free: 32.88 MB / 282.7 MB Notification: Performance of Templates: time 0.001748/0.008313, allocations: 0.6841 MB / 327.2 MB, free: 32.25 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.697949822060764]