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] "Error: Unknown option --generateDynamicJacobian. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 117.1 kB / 17.86 MB, free: 5.219 MB / 14.72 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.002284/0.002284, allocations: 202.2 kB / 20.81 MB, free: 2.277 MB / 14.72 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 1.578/1.578, allocations: 207.6 MB / 231.2 MB, free: 4.09 MB / 174.1 MB " [Timeout remaining time 178] 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.07054/0.07054, allocations: 14.4 MB / 297.5 MB, free: 1.875 MB / 238.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00251/0.00251, allocations: 71.89 kB / 419.5 MB, free: 5.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2508, allocations: 52.87 MB / 472.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00211/0.2529, allocations: 0.7072 MB / 473 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001839/0.2531, allocations: 25.62 kB / 473.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.453e-05/0.2531, allocations: 1.125 kB / 473.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.2531, allocations: 3.938 kB / 473.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.129e-05/0.2532, allocations: 0 / 473.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.2533, allocations: 10.23 kB / 473.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.31e-05/0.2534, allocations: 19.45 kB / 473.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.082e-05/0.2535, allocations: 6.094 kB / 473.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.086e-05/0.2535, allocations: 7.375 kB / 473.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.619e-05/0.2536, allocations: 10.2 kB / 473.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.2536, allocations: 2.25 kB / 473.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.625e-06/0.2536, allocations: 2.156 kB / 473.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.2536, allocations: 0 / 473.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.2536, allocations: 11.25 kB / 473.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.589e-05/0.2537, allocations: 15.36 kB / 473.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2537, allocations: 0 / 473.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2537, allocations: 1.156 kB / 473.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.2537, allocations: 0 / 473.1 MB, free: 12.26 MB / 334.1 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.0003945/0.2541, allocations: 354.6 kB / 473.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2541, allocations: 9.719 kB / 473.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.2542, allocations: 2.062 kB / 473.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.2543, allocations: 165.7 kB / 473.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.2543, allocations: 1.75 kB / 473.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.2543, allocations: 1.719 kB / 473.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.2544, allocations: 42.16 kB / 473.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2545, allocations: 192 / 473.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2545, allocations: 5.312 kB / 473.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2545, allocations: 4 kB / 473.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.759e-05/0.2545, allocations: 12.86 kB / 473.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.255, allocations: 244.2 kB / 474 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.052e-05/0.2551, allocations: 31.95 kB / 474 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.2551, allocations: 14.08 kB / 474 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.2551, allocations: 3.938 kB / 474 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.2551, allocations: 35.88 kB / 474.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2551, allocations: 0 / 474.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002249/0.2554, allocations: 85.52 kB / 474.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.2554, allocations: 82.11 kB / 474.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.358e-05/0.2555, allocations: 91.23 kB / 474.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.2555, allocations: 33.62 kB / 474.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.2555, allocations: 85.19 kB / 474.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.2556, allocations: 5.297 kB / 474.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.2556, allocations: 16.41 kB / 474.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2558, allocations: 316.2 kB / 474.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/0.2558, allocations: 8.156 kB / 474.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.987e-05/0.2558, allocations: 12.23 kB / 474.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.496e-05/0.2559, allocations: 74.77 kB / 474.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2559, allocations: 0 / 474.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001205/0.256, allocations: 86.45 kB / 474.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.669e-05/0.2561, allocations: 36.05 kB / 475 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.2561, allocations: 0 / 475 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.2561, allocations: 1.312 kB / 475 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.247e-05/0.2561, allocations: 1.125 kB / 475 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.2561, allocations: 0 / 475 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.62e-05/0.2562, allocations: 6.547 kB / 475 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.2562, allocations: 1.438 kB / 475 MB, free: 10.29 MB / 334.1 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 0.0001078/0.2563, allocations: 138.3 kB / 475.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.2563, allocations: 6.531 kB / 475.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.671e-05/0.2563, allocations: 7.125 kB / 475.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.2564, allocations: 0 / 475.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.2564, allocations: 5.234 kB / 475.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.2564, allocations: 3.984 kB / 475.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.2565, allocations: 152.6 kB / 475.3 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2565, allocations: 0 / 475.3 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-05/0.2566, allocations: 1.531 kB / 475.3 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.2566, allocations: 5.469 kB / 475.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2566, allocations: 5.188 kB / 475.3 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2566, allocations: 0 / 475.3 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2566, allocations: 4 kB / 475.3 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.2567, allocations: 183 kB / 475.5 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.2568, allocations: 85.59 kB / 475.6 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.2568, allocations: 0.9375 kB / 475.6 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.2569, allocations: 3 kB / 475.6 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.2569, allocations: 4.969 kB / 475.6 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.2569, allocations: 1 kB / 475.6 MB, free: 9.629 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.958e-05/0.257, allocations: 80.09 kB / 475.6 MB, free: 9.551 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.257, allocations: 0 / 475.6 MB, free: 9.551 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.2572, allocations: 5.281 kB / 475.7 MB, free: 9.551 MB / 334.1 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.0001108/0.2573, allocations: 105 kB / 475.8 MB, free: 9.453 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.2574, allocations: 80.92 kB / 475.8 MB, free: 9.375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2574, allocations: 0 / 475.8 MB, free: 9.375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-05/0.2575, allocations: 67.78 kB / 475.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.2577, allocations: 6.562 kB / 475.9 MB, free: 9.301 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002411/0.258, allocations: 101.8 kB / 476 MB, free: 9.191 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.2583, allocations: 0.6753 MB / 476.7 MB, free: 8.492 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.022e-05/0.2583, allocations: 0 / 476.7 MB, free: 8.492 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.2583, allocations: 8.594 kB / 476.7 MB, free: 8.484 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2583, allocations: 0 / 476.7 MB, free: 8.484 MB / 334.1 MB Notification: Performance of Templates: time 0.00283/0.2611, allocations: 0.563 MB / 477.3 MB, free: 8.109 MB / 334.1 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=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.824260234017856]