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.001565/0.001565, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001734/0.001734, allocations: 173.8 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.37/1.37, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.07489/0.07489, allocations: 12.53 MB / 271.7 MB, free: 4.582 MB / 254.1 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.673e-06/1.673e-06, allocations: 0 / 405.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.452e-05, allocations: 2.281 kB / 405.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00183/0.001855, allocations: 0.7118 MB / 405.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001608/0.002016, allocations: 19.97 kB / 405.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.002047, allocations: 3.938 kB / 405.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.002067, allocations: 0 / 405.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.771e-05/0.002105, allocations: 4 kB / 405.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.002222, allocations: 15.92 kB / 406 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.647e-05/0.002309, allocations: 15.98 kB / 406 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.485e-05/0.002383, allocations: 8 kB / 406 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.208e-05/0.002416, allocations: 7.938 kB / 406 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.002467, allocations: 7.984 kB / 406 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.002483, allocations: 4 kB / 406 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.00249, allocations: 0 / 406 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.002501, allocations: 0 / 406 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.753e-05/0.002529, allocations: 7.984 kB / 406 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.927e-05/0.002598, allocations: 19.97 kB / 406 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.0026, allocations: 4 kB / 406 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.0026, allocations: 0 / 406 MB, free: 11.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.002603, allocations: 0 / 406 MB, free: 11.68 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.0003102/0.002913, allocations: 272.1 kB / 406.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.002944, allocations: 8.031 kB / 406.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.002968, allocations: 0.9375 kB / 406.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.056e-05/0.003049, allocations: 105.8 kB / 406.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.003059, allocations: 4.312 kB / 406.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.003074, allocations: 8.359 kB / 406.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.003196, allocations: 67.95 kB / 406.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.003203, allocations: 192 / 406.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.003211, allocations: 4.375 kB / 406.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.003214, allocations: 384 / 406.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.917e-05/0.003273, allocations: 45.62 kB / 406.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.003619, allocations: 196.6 kB / 406.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.835e-05/0.003707, allocations: 52.28 kB / 406.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.003758, allocations: 42.61 kB / 406.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.00377, allocations: 4 kB / 406.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.003798, allocations: 34.5 kB / 406.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.083e-06/0.003799, allocations: 0 / 406.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002462/0.004046, allocations: 150.7 kB / 407 MB, free: 10.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.004095, allocations: 77.11 kB / 407.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.479e-05/0.00415, allocations: 89.86 kB / 407.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.004169, allocations: 25.7 kB / 407.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.00421, allocations: 88.12 kB / 407.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.00423, allocations: 7.891 kB / 407.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.004266, allocations: 17.72 kB / 407.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.004416, allocations: 310.8 kB / 407.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.004458, allocations: 37.69 kB / 407.6 MB, free: 9.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.004494, allocations: 37.83 kB / 407.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.095e-05/0.004575, allocations: 76.33 kB / 407.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.004579, allocations: 4 kB / 407.8 MB, free: 9.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001326/0.004712, allocations: 109 kB / 407.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.004743, allocations: 33.69 kB / 407.9 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.004747, allocations: 4 kB / 407.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.004762, allocations: 3.938 kB / 407.9 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.285e-05/0.004805, allocations: 0 / 407.9 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.706e-06/0.004809, allocations: 0 / 407.9 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.004856, allocations: 4 kB / 407.9 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.004863, allocations: 4.031 kB / 407.9 MB, free: 9.516 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.0001075/0.004971, allocations: 148.1 kB / 408.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.004996, allocations: 3.953 kB / 408.1 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.676e-05/0.005013, allocations: 11.11 kB / 408.1 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.005017, allocations: 7.875 kB / 408.1 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.00502, allocations: 0 / 408.1 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.005022, allocations: 0 / 408.1 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.005142, allocations: 97.33 kB / 408.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.005145, allocations: 3.984 kB / 408.2 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.051e-05/0.005156, allocations: 0 / 408.2 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.005157, allocations: 4 kB / 408.2 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.005176, allocations: 4 kB / 408.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.005178, allocations: 0 / 408.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.00518, allocations: 3.938 kB / 408.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.005366, allocations: 206.9 kB / 408.4 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-06/0.00537, allocations: 0 / 408.4 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.005381, allocations: 0 / 408.4 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.005461, allocations: 11.98 kB / 408.4 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.005504, allocations: 3.938 kB / 408.4 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.00551, allocations: 4 kB / 408.4 MB, free: 8.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.152e-05/0.005542, allocations: 83.31 kB / 408.5 MB, free: 8.859 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.005542, allocations: 3.938 kB / 408.5 MB, free: 8.855 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002131/0.005755, allocations: 4 kB / 408.5 MB, free: 8.852 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 9.079e-05/0.005846, allocations: 95.78 kB / 408.6 MB, free: 8.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.006014, allocations: 138.7 kB / 408.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006016, allocations: 0 / 408.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.344e-05/0.006089, allocations: 89.11 kB / 408.8 MB, free: 8.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.006297, allocations: 4 kB / 408.8 MB, free: 8.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/0.006533, allocations: 134.5 kB / 409 MB, free: 8.316 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.821e-05/0.006591, allocations: 63.34 kB / 409 MB, free: 8.234 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.476e-06/0.006599, allocations: 0 / 409 MB, free: 8.234 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.765e-05/0.006617, allocations: 8.5 kB / 409 MB, free: 8.223 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.006617, allocations: 0 / 409 MB, free: 8.223 MB / 334.1 MB Notification: Performance of Templates: time 0.002778/0.009395, allocations: 0.6134 MB / 409.6 MB, free: 7.625 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 480] 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: 3.9918207116425037]