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.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.00121/0.00121, 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.00136/0.00136, allocations: 174.5 kB / 22.46 MB, free: 5.355 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.281/1.281, allocations: 158.6 MB / 184.2 MB, free: 6.418 MB / 174.1 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.06363/0.06363, allocations: 10.65 MB / 247.1 MB, free: 8.508 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_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 371 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.225e-05, allocations: 6.219 kB / 371 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002075/0.002107, allocations: 0.7086 MB / 371.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002119/0.002319, allocations: 23.92 kB / 371.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.002363, allocations: 0 / 371.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.002396, allocations: 3.984 kB / 371.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.316e-05/0.00245, allocations: 0 / 371.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.002634, allocations: 19.92 kB / 371.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.002758, allocations: 19.92 kB / 371.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.002861, allocations: 4 kB / 371.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.599e-05/0.002907, allocations: 11.98 kB / 371.8 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.002976, allocations: 4 kB / 371.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.002996, allocations: 0 / 371.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.00301, allocations: 4 kB / 371.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.003024, allocations: 0 / 371.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.845e-05/0.003062, allocations: 4 kB / 371.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.024e-05/0.003153, allocations: 23.89 kB / 371.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.003155, allocations: 4 kB / 371.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.003156, allocations: 4 kB / 371.8 MB, free: 9.453 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.003161, allocations: 3.938 kB / 371.8 MB, free: 9.449 MB / 302.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.0003406/0.003502, allocations: 264.2 kB / 372.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.003546, allocations: 12.03 kB / 372.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.003589, allocations: 0.9375 kB / 372.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.094e-05/0.00368, allocations: 101.8 kB / 372.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.003694, allocations: 4.375 kB / 372.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.003706, allocations: 4.375 kB / 372.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.003843, allocations: 75.94 kB / 372.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.003851, allocations: 192 / 372.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.003861, allocations: 8.375 kB / 372.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.003865, allocations: 4.312 kB / 372.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.502e-05/0.00392, allocations: 41.58 kB / 372.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.004301, allocations: 192.6 kB / 372.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.501e-05/0.004376, allocations: 48.28 kB / 372.6 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/0.004429, allocations: 46.61 kB / 372.6 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.004439, allocations: 0 / 372.6 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.004467, allocations: 34.56 kB / 372.6 MB, free: 8.484 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.004468, allocations: 0 / 372.6 MB, free: 8.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002541/0.004722, allocations: 146.7 kB / 372.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.004789, allocations: 85.09 kB / 372.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.135e-05/0.00484, allocations: 89.86 kB / 373 MB, free: 8.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.00486, allocations: 25.7 kB / 373 MB, free: 8.086 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.004906, allocations: 80.14 kB / 373.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.004929, allocations: 15.89 kB / 373.1 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.004962, allocations: 9.719 kB / 373.1 MB, free: 7.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.005109, allocations: 314.8 kB / 373.4 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.157e-05/0.005151, allocations: 37.69 kB / 373.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.081e-05/0.005182, allocations: 33.83 kB / 373.5 MB, free: 7.574 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.359e-05/0.005265, allocations: 84.31 kB / 373.5 MB, free: 7.477 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.005267, allocations: 0 / 373.5 MB, free: 7.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002097/0.005476, allocations: 109 kB / 373.6 MB, free: 7.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.005517, allocations: 29.7 kB / 373.7 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.005523, allocations: 0 / 373.7 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.00554, allocations: 3.938 kB / 373.7 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.047e-05/0.00558, allocations: 4 kB / 373.7 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.005585, allocations: 0 / 373.7 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.005631, allocations: 7.891 kB / 373.7 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.005639, allocations: 8.031 kB / 373.7 MB, free: 7.293 MB / 302.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.0001037/0.005743, allocations: 143.5 kB / 373.8 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.005766, allocations: 0 / 373.8 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.42e-05/0.00578, allocations: 7.109 kB / 373.8 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.005784, allocations: 3.938 kB / 373.9 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.005787, allocations: 0 / 373.9 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.00579, allocations: 4 kB / 373.9 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.005919, allocations: 97.31 kB / 374 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.00592, allocations: 0 / 374 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.005937, allocations: 4 kB / 374 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.005939, allocations: 4 kB / 374 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.005948, allocations: 0 / 374 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.005954, allocations: 7.922 kB / 374 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.005957, allocations: 3.938 kB / 374 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.00616, allocations: 206.9 kB / 374.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-06/0.006165, allocations: 3.938 kB / 374.2 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.006182, allocations: 11.98 kB / 374.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.006252, allocations: 0 / 374.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.006301, allocations: 11.94 kB / 374.2 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.006306, allocations: 0 / 374.2 MB, free: 6.723 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.248e-05/0.006338, allocations: 79.31 kB / 374.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.006338, allocations: 0 / 374.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000213/0.006551, allocations: 8 kB / 374.3 MB, free: 6.637 MB / 302.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.0001041/0.006655, allocations: 99.23 kB / 374.4 MB, free: 6.531 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.006824, allocations: 130.7 kB / 374.5 MB, free: 6.379 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.006826, allocations: 0 / 374.5 MB, free: 6.379 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.006954, allocations: 93.11 kB / 374.6 MB, free: 6.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.007151, allocations: 7.984 kB / 374.6 MB, free: 6.262 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.007424, allocations: 134.5 kB / 374.7 MB, free: 6.098 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.671e-05/0.007481, allocations: 59.48 kB / 374.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.024e-05/0.007491, allocations: 0 / 374.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.173e-05/0.007513, allocations: 12.5 kB / 374.8 MB, free: 6.004 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.007513, allocations: 0 / 374.8 MB, free: 6.004 MB / 302.1 MB Notification: Performance of Templates: time 0.002944/0.01046, allocations: 0.6026 MB / 375.4 MB, free: 5.41 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("PowerGrids_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_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.298801697790623]