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.001049/0.001049, 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.001091/0.001091, 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.8875/0.8875, allocations: 158.6 MB / 186 MB, free: 2.77 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.03994/0.03994, 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.615e-06/2.615e-06, allocations: 0 / 271.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.179e-05, allocations: 2.312 kB / 271.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002486/0.002517, allocations: 0.7328 MB / 272.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002465/0.002764, allocations: 23.89 kB / 272.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.00282, allocations: 4 kB / 272.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.002857, allocations: 0 / 272.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.366e-05/0.002921, allocations: 0 / 272.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.003106, allocations: 7.984 kB / 272.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.003235, allocations: 16 kB / 272.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.003337, allocations: 7.984 kB / 272.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.491e-05/0.003392, allocations: 12 kB / 272.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.296e-05/0.003475, allocations: 3.984 kB / 272.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.003495, allocations: 7.938 kB / 272.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.003505, allocations: 0 / 272.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.003527, allocations: 3.938 kB / 272.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.003562, allocations: 8 kB / 272.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.003671, allocations: 15.97 kB / 272.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.003675, allocations: 0 / 272.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.003676, allocations: 0 / 272.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.003681, allocations: 0 / 272.5 MB, free: 12.79 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.0003682/0.00405, allocations: 242.5 kB / 272.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.004106, allocations: 12.03 kB / 272.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.004151, allocations: 4.938 kB / 272.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.743e-05/0.004249, allocations: 105.7 kB / 272.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.004266, allocations: 4.375 kB / 272.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.004283, allocations: 4.359 kB / 272.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.004421, allocations: 75.94 kB / 273 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.004434, allocations: 192 / 273 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.004446, allocations: 4.375 kB / 273 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.004455, allocations: 384 / 273 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.818e-05/0.004493, allocations: 37.58 kB / 273 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.004874, allocations: 148.6 kB / 273.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.127e-05/0.004955, allocations: 60.31 kB / 273.2 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/0.004996, allocations: 38.62 kB / 273.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.762e-06/0.005003, allocations: 0 / 273.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.005033, allocations: 38.5 kB / 273.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.005035, allocations: 0 / 273.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001822/0.005217, allocations: 134.7 kB / 273.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.005272, allocations: 85.05 kB / 273.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.974e-05/0.005311, allocations: 89.86 kB / 273.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.005326, allocations: 25.7 kB / 273.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.705e-05/0.005363, allocations: 88.22 kB / 273.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.005385, allocations: 7.953 kB / 273.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.005422, allocations: 21.7 kB / 273.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002415/0.005663, allocations: 310.8 kB / 274.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.029e-05/0.005694, allocations: 29.7 kB / 274.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.379e-05/0.005717, allocations: 29.7 kB / 274.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.94e-05/0.005787, allocations: 80.17 kB / 274.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.005789, allocations: 0 / 274.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.735e-05/0.005886, allocations: 105.1 kB / 274.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.005917, allocations: 33.8 kB / 274.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.005923, allocations: 0 / 274.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.005939, allocations: 0 / 274.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.227e-05/0.005981, allocations: 4 kB / 274.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.005988, allocations: 3.938 kB / 274.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.636e-05/0.006024, allocations: 0 / 274.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.006036, allocations: 7.984 kB / 274.3 MB, free: 10.75 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.744e-05/0.006123, allocations: 139.5 kB / 274.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.006147, allocations: 4 kB / 274.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.93e-05/0.006167, allocations: 7.156 kB / 274.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.006169, allocations: 7.938 kB / 274.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.006174, allocations: 3.938 kB / 274.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.006179, allocations: 0 / 274.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.006299, allocations: 65.89 kB / 274.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.006301, allocations: 0 / 274.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-05/0.006317, allocations: 0 / 274.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.00632, allocations: 0 / 274.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.006329, allocations: 4 kB / 274.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.006331, allocations: 0 / 274.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006332, allocations: 0 / 274.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/0.006871, allocations: 0.9973 MB / 275.6 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.006884, allocations: 7.922 kB / 275.6 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.006903, allocations: 12 kB / 275.6 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-05/0.006968, allocations: 7.922 kB / 275.6 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.007012, allocations: 4 kB / 275.6 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.007017, allocations: 0 / 275.6 MB, free: 9.379 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.107e-06/0.007026, allocations: 4.859 kB / 275.6 MB, free: 9.371 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007026, allocations: 0 / 275.6 MB, free: 9.371 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003419/0.007368, allocations: 4 kB / 275.6 MB, free: 9.367 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.0001102/0.007478, allocations: 76.42 kB / 275.7 MB, free: 9.285 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.007605, allocations: 143.6 kB / 275.8 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.007608, allocations: 0 / 275.8 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.795e-05/0.007656, allocations: 93.95 kB / 275.9 MB, free: 9.004 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.967e-05/0.007755, allocations: 11.94 kB / 275.9 MB, free: 8.992 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.008033, allocations: 221.2 kB / 276.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.805e-05/0.008071, allocations: 59.34 kB / 276.2 MB, free: 8.652 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.327e-05/0.008085, allocations: 0 / 276.2 MB, free: 8.652 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/0.008132, allocations: 55.38 kB / 276.3 MB, free: 8.598 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.008133, allocations: 0 / 276.3 MB, free: 8.598 MB / 266.7 MB Notification: Performance of Templates: time 0.002091/0.01022, allocations: 0.6726 MB / 276.9 MB, free: 7.922 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 -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.850601578131318]