Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 113.7 kB / 16.42 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001997, allocations: 190.7 kB / 17.35 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0675/0.0675, allocations: 14.17 MB / 284.8 MB, free: 13.84 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001572, allocations: 71.66 kB / 399.3 MB, free: 42.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0792/0.08078, allocations: 50.14 MB / 449.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00209/0.08291, allocations: 0.6869 MB / 450.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000197/0.08313, allocations: 31.95 kB / 450.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.08318, allocations: 4 kB / 450.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.08321, allocations: 3.938 kB / 450.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.136e-05/0.08329, allocations: 0 / 450.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.08345, allocations: 11.98 kB / 450.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.08357, allocations: 16 kB / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.468e-05/0.08367, allocations: 7.984 kB / 450.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.837e-05/0.08371, allocations: 7.938 kB / 450.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.672e-05/0.08379, allocations: 15.97 kB / 450.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.08381, allocations: 0 / 450.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.08382, allocations: 4 kB / 450.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.08384, allocations: 0 / 450.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.08389, allocations: 12 kB / 450.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.582e-05/0.08399, allocations: 19.86 kB / 450.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.084, allocations: 0 / 450.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.08401, allocations: 0 / 450.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.08402, allocations: 3.938 kB / 450.3 MB, free: 10.7 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.0003455/0.08437, allocations: 345.2 kB / 450.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.08442, allocations: 8.031 kB / 450.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.08447, allocations: 4.938 kB / 450.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.336e-05/0.08457, allocations: 164.4 kB / 450.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.08459, allocations: 4.375 kB / 450.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.08462, allocations: 4.375 kB / 450.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.08476, allocations: 48.31 kB / 450.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.08478, allocations: 192 / 450.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.08479, allocations: 3.938 kB / 450.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.0848, allocations: 0 / 450.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.952e-05/0.08485, allocations: 7.938 kB / 450.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.08532, allocations: 249 kB / 451.1 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.866e-05/0.08541, allocations: 34.52 kB / 451.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/0.08545, allocations: 16.91 kB / 451.1 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.08547, allocations: 4 kB / 451.1 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.0855, allocations: 30.56 kB / 451.2 MB, free: 9.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.08551, allocations: 0 / 451.2 MB, free: 9.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002441/0.08576, allocations: 83.33 kB / 451.2 MB, free: 9.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.08582, allocations: 89.23 kB / 451.3 MB, free: 9.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.517e-05/0.08586, allocations: 89.86 kB / 451.4 MB, free: 9.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.08588, allocations: 25.7 kB / 451.4 MB, free: 9.301 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.08593, allocations: 84.09 kB / 451.5 MB, free: 9.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.08596, allocations: 7.891 kB / 451.5 MB, free: 9.207 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.08601, allocations: 17.7 kB / 451.5 MB, free: 9.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.08613, allocations: 314.8 kB / 451.9 MB, free: 8.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.08616, allocations: 8 kB / 451.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.08619, allocations: 15.98 kB / 451.9 MB, free: 8.844 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.022e-05/0.08628, allocations: 72.27 kB / 451.9 MB, free: 8.758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.08629, allocations: 0 / 451.9 MB, free: 8.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001104/0.0864, allocations: 87.27 kB / 452 MB, free: 8.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.08645, allocations: 33.7 kB / 452.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.08646, allocations: 0 / 452.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.08648, allocations: 0 / 452.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.652e-05/0.08653, allocations: 0 / 452.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.08655, allocations: 0 / 452.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.245e-05/0.08661, allocations: 12.08 kB / 452.1 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.08663, allocations: 0 / 452.1 MB, free: 8.609 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.0001003/0.08673, allocations: 143.5 kB / 452.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.08676, allocations: 3.938 kB / 452.2 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.875e-05/0.08679, allocations: 11.08 kB / 452.2 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.0868, allocations: 3.984 kB / 452.2 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.0868, allocations: 3.938 kB / 452.2 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.08684, allocations: 77.11 kB / 452.3 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.08686, allocations: 7.984 kB / 452.3 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.08694, allocations: 8 kB / 452.3 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.08699, allocations: 0 / 452.3 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001849/0.08718, allocations: 218 kB / 452.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001865/0.08738, allocations: 248.5 kB / 452.8 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.976e-05/0.08743, allocations: 15.98 kB / 452.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.93e-05/0.08747, allocations: 79.34 kB / 452.9 MB, free: 7.723 MB / 334.1 MB Notification: Performance of Backend: time 7.32e-07/0.08747, allocations: 0 / 452.9 MB, free: 7.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003829/0.08786, allocations: 150.5 kB / 453 MB, free: 7.555 MB / 334.1 MB Notification: Performance of SimCode: time 0.0003836/0.08826, allocations: 0.5717 MB / 453.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of Templates: time 0.002773/0.09104, allocations: 0.5831 MB / 454.2 MB, free: 6.344 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_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_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches