Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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.0007323/0.0007323, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007317/0.0007317, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8026/0.8026, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.04276/0.04276, allocations: 12.53 MB / 271.7 MB, free: 1.113 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 405.2 MB, free: 6.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.512e-05, allocations: 2.281 kB / 405.2 MB, free: 6.758 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001173/0.001198, allocations: 0.7162 MB / 405.9 MB, free: 6.047 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001377/0.001336, allocations: 27.91 kB / 406 MB, free: 6.02 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.001362, allocations: 0 / 406 MB, free: 6.02 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.001385, allocations: 0 / 406 MB, free: 6.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 3.966e-05/0.001425, allocations: 0 / 406 MB, free: 6.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.001546, allocations: 19.86 kB / 406 MB, free: 6 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.806e-05/0.001624, allocations: 19.98 kB / 406 MB, free: 5.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.478e-05/0.001698, allocations: 3.984 kB / 406 MB, free: 5.977 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.997e-05/0.001728, allocations: 11.94 kB / 406 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.702e-05/0.001775, allocations: 11.98 kB / 406 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.001788, allocations: 0 / 406 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-06/0.001795, allocations: 4 kB / 406 MB, free: 5.949 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.001807, allocations: 0 / 406 MB, free: 5.949 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.001829, allocations: 4 kB / 406 MB, free: 5.945 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 6.147e-05/0.00189, allocations: 19.97 kB / 406 MB, free: 5.926 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.432e-06/0.001892, allocations: 3.938 kB / 406 MB, free: 5.922 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.001893, allocations: 0 / 406 MB, free: 5.922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.756e-06/0.001896, allocations: 4 kB / 406.1 MB, free: 5.918 MB / 330.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.0002231/0.002119, allocations: 268.2 kB / 406.3 MB, free: 5.617 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.002149, allocations: 8.031 kB / 406.3 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.002175, allocations: 0.9375 kB / 406.3 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.593e-05/0.002221, allocations: 105.8 kB / 406.4 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.00223, allocations: 384 / 406.4 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.002237, allocations: 384 / 406.4 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.002561, allocations: 75.89 kB / 406.5 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.002567, allocations: 192 / 406.5 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.002575, allocations: 4.312 kB / 406.5 MB, free: 5.391 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.002579, allocations: 4.375 kB / 406.5 MB, free: 5.387 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.272e-05/0.002612, allocations: 41.62 kB / 406.6 MB, free: 5.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.002893, allocations: 200.6 kB / 406.7 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.722e-05/0.00294, allocations: 52.28 kB / 406.8 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.002969, allocations: 46.55 kB / 406.8 MB, free: 4.992 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.002977, allocations: 0 / 406.8 MB, free: 4.992 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.002996, allocations: 38.56 kB / 406.9 MB, free: 4.945 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 3.887e-06/0.003, allocations: 0 / 406.9 MB, free: 4.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001515/0.003152, allocations: 138.9 kB / 407 MB, free: 4.785 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.003182, allocations: 85.11 kB / 407.1 MB, free: 4.684 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.124e-05/0.003203, allocations: 89.86 kB / 407.2 MB, free: 4.586 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.003212, allocations: 25.7 kB / 407.2 MB, free: 4.555 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.178e-05/0.003233, allocations: 80.14 kB / 407.3 MB, free: 4.473 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.003252, allocations: 15.88 kB / 407.3 MB, free: 4.457 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.003275, allocations: 17.72 kB / 407.3 MB, free: 4.434 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.003337, allocations: 310.8 kB / 407.6 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.003358, allocations: 37.64 kB / 407.7 MB, free: 4.078 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/0.003376, allocations: 33.69 kB / 407.7 MB, free: 4.039 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.579e-05/0.003422, allocations: 84.33 kB / 407.8 MB, free: 3.941 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.003423, allocations: 0 / 407.8 MB, free: 3.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.979e-05/0.003483, allocations: 105.1 kB / 407.9 MB, free: 3.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.003504, allocations: 33.69 kB / 407.9 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.003507, allocations: 0 / 407.9 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.003517, allocations: 3.938 kB / 407.9 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.891e-05/0.003546, allocations: 4 kB / 407.9 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.00355, allocations: 0 / 407.9 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.003572, allocations: 4 kB / 407.9 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.003578, allocations: 0 / 407.9 MB, free: 3.77 MB / 330.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 5.1e-05/0.003629, allocations: 147.5 kB / 408.1 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.003641, allocations: 7.938 kB / 408.1 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.29e-05/0.003654, allocations: 15.05 kB / 408.1 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.003656, allocations: 7.938 kB / 408.1 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.003659, allocations: 0 / 408.1 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.003661, allocations: 0 / 408.1 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.66e-05/0.003728, allocations: 93.33 kB / 408.2 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4e-07/0.003728, allocations: 7.938 kB / 408.2 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-06/0.003734, allocations: 3.984 kB / 408.2 MB, free: 3.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.003735, allocations: 4 kB / 408.2 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.00374, allocations: 0 / 408.2 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.003741, allocations: 4 kB / 408.2 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.003743, allocations: 7.938 kB / 408.2 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.438e-05/0.003827, allocations: 199 kB / 408.4 MB, free: 3.207 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-06/0.00383, allocations: 4 kB / 408.4 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-06/0.003838, allocations: 0 / 408.4 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.531e-05/0.003873, allocations: 7.984 kB / 408.4 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.003908, allocations: 7.875 kB / 408.4 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.00391, allocations: 0 / 408.4 MB, free: 3.188 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.72e-05/0.003927, allocations: 75.28 kB / 408.5 MB, free: 3.113 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003927, allocations: 0 / 408.5 MB, free: 3.113 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001424/0.00407, allocations: 16.03 kB / 408.5 MB, free: 3.098 MB / 330.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 5.724e-05/0.004127, allocations: 95.78 kB / 408.6 MB, free: 2.996 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001/0.004227, allocations: 130.8 kB / 408.7 MB, free: 2.844 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.004228, allocations: 0 / 408.7 MB, free: 2.844 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/0.004266, allocations: 93.09 kB / 408.8 MB, free: 2.734 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.004396, allocations: 7.938 kB / 408.8 MB, free: 2.727 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001636/0.00456, allocations: 134.4 kB / 409 MB, free: 2.562 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.399e-05/0.004594, allocations: 59.34 kB / 409 MB, free: 2.484 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.626e-06/0.004602, allocations: 4.125 kB / 409 MB, free: 2.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.373e-05/0.004616, allocations: 8.5 kB / 409 MB, free: 2.469 MB / 330.7 MB Notification: Performance of SimCode: time 3.41e-07/0.004616, allocations: 0 / 409 MB, free: 2.469 MB / 330.7 MB Notification: Performance of Templates: time 0.001603/0.006219, allocations: 0.6044 MB / 409.6 MB, free: 1.879 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_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: 2.498492426238954]