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.0008035/0.0008035, 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.0008153/0.0008153, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8065/0.8065, allocations: 158.6 MB / 184.2 MB, free: 3.035 MB / 170.7 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.03819/0.03819, allocations: 10.66 MB / 247.1 MB, free: 4.699 MB / 234.7 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: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 370.5 MB, free: 4.012 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.731e-05, allocations: 2.281 kB / 370.5 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.001196/0.001213, allocations: 0.7054 MB / 371.2 MB, free: 3.305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001425/0.001356, allocations: 31.84 kB / 371.2 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.001382, allocations: 0 / 371.2 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.245e-05/0.001405, allocations: 0 / 371.2 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.863e-05/0.001444, allocations: 0 / 371.2 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.001575, allocations: 15.92 kB / 371.2 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.376e-05/0.001659, allocations: 12 kB / 371.2 MB, free: 3.246 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.755e-05/0.001736, allocations: 7.984 kB / 371.2 MB, free: 3.238 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.965e-05/0.001766, allocations: 8 kB / 371.3 MB, free: 3.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.031e-05/0.001816, allocations: 11.98 kB / 371.3 MB, free: 3.219 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.00183, allocations: 3.984 kB / 371.3 MB, free: 3.215 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-06/0.001837, allocations: 4 kB / 371.3 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.00185, allocations: 0 / 371.3 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.001875, allocations: 7.938 kB / 371.3 MB, free: 3.203 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.057e-05/0.001945, allocations: 19.97 kB / 371.3 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.001947, allocations: 0 / 371.3 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.001948, allocations: 0 / 371.3 MB, free: 3.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.001951, allocations: 0 / 371.3 MB, free: 3.184 MB / 298.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.0002235/0.002175, allocations: 264.1 kB / 371.6 MB, free: 2.883 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.00221, allocations: 16.03 kB / 371.6 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.405e-05/0.002234, allocations: 38.73 kB / 371.6 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.099e-05/0.002255, allocations: 0.9375 kB / 371.6 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.597e-05/0.002301, allocations: 105.8 kB / 371.7 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.00231, allocations: 384 / 371.7 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.002317, allocations: 4.375 kB / 371.7 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.7e-05/0.002414, allocations: 79.88 kB / 371.8 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.00242, allocations: 192 / 371.8 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.002428, allocations: 384 / 371.8 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.002433, allocations: 4.125 kB / 371.8 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.376e-05/0.002467, allocations: 45.62 kB / 371.8 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.002764, allocations: 212.1 kB / 372.1 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.039e-05/0.002814, allocations: 56.22 kB / 372.1 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.239e-05/0.002846, allocations: 42.61 kB / 372.2 MB, free: 2.172 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.002857, allocations: 4 kB / 372.2 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.002879, allocations: 34.5 kB / 372.2 MB, free: 2.125 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.00288, allocations: 0 / 372.2 MB, free: 2.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001614/0.003041, allocations: 138.8 kB / 372.3 MB, free: 1.965 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.003072, allocations: 77.11 kB / 372.4 MB, free: 1.871 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.27e-05/0.003094, allocations: 93.98 kB / 372.5 MB, free: 1.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.689e-06/0.003104, allocations: 29.7 kB / 372.5 MB, free: 1.734 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.376e-05/0.003128, allocations: 88.08 kB / 372.6 MB, free: 1.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.003142, allocations: 7.938 kB / 372.6 MB, free: 1.637 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.003165, allocations: 13.72 kB / 372.6 MB, free: 1.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.609e-05/0.003231, allocations: 314.8 kB / 372.9 MB, free: 1.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.003255, allocations: 37.69 kB / 373 MB, free: 1.258 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.003274, allocations: 37.7 kB / 373 MB, free: 1.215 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.003319, allocations: 72.27 kB / 373.1 MB, free: 1.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.003321, allocations: 64 / 373.1 MB, free: 1.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.264e-05/0.003383, allocations: 113 kB / 373.2 MB, free: 1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.003408, allocations: 41.62 kB / 373.2 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.003411, allocations: 0 / 373.2 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.003421, allocations: 0 / 373.2 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.267e-05/0.003454, allocations: 0 / 373.2 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.003457, allocations: 0 / 373.2 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.003482, allocations: 7.938 kB / 373.2 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.003488, allocations: 0 / 373.2 MB, free: 0.9453 MB / 298.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.434e-05/0.003543, allocations: 145.5 kB / 373.4 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.003556, allocations: 11.97 kB / 373.4 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.141e-05/0.003567, allocations: 7.109 kB / 373.4 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.003569, allocations: 0 / 373.4 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.003572, allocations: 0 / 373.4 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.003575, allocations: 0 / 373.4 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.547e-05/0.00366, allocations: 128.7 kB / 373.5 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.003661, allocations: 0 / 373.5 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.717e-06/0.003665, allocations: 0 / 373.5 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.003667, allocations: 7.938 kB / 373.5 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.003674, allocations: 4 kB / 373.5 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.003675, allocations: 0 / 373.5 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.003676, allocations: 4 kB / 373.5 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.765e-05/0.003773, allocations: 199 kB / 373.7 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-06/0.003776, allocations: 0 / 373.7 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.003787, allocations: 11.88 kB / 373.7 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.691e-05/0.003824, allocations: 11.92 kB / 373.8 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.003856, allocations: 0 / 373.8 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.003859, allocations: 4 kB / 373.8 MB, free: 348 kB / 298.7 MB Notification: Performance of sorting global known variables: time 1.74e-05/0.003876, allocations: 75.28 kB / 373.8 MB, free: 272 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003876, allocations: 0 / 373.8 MB, free: 272 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001415/0.004018, allocations: 7.938 kB / 373.8 MB, free: 264 kB / 298.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 0.000254/0.004272, allocations: 0.7431 MB / 374.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.004376, allocations: 134.7 kB / 374.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.004378, allocations: 0 / 374.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.004417, allocations: 97.09 kB / 374.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.004551, allocations: 4 kB / 374.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.004811, allocations: 152.3 kB / 375 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.264e-05/0.004844, allocations: 59.34 kB / 375 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.548e-06/0.004854, allocations: 4 kB / 375 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.004873, allocations: 12.66 kB / 375 MB, free: 14.91 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.004874, allocations: 0 / 375 MB, free: 14.91 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01195/0.01683, allocations: 2.007 MB / 377 MB, free: 12.95 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.286/6.303, allocations: 11.86 kB / 377.1 MB, free: 12.93 MB / 314.7 MB " [Timeout remaining time 654] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE_fmu --startTime=0 --stopTime=2 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestExciterRectifierRegulationCharacteristicIEEE.fmu > PowerGrids_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 52.5] 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] "" Variables in the reference:exciterRectifierRegulationCharacteristicIEEE.y,realExpression.y,time Variables in the result:exciterRectifierRegulationCharacteristicIEEE.u,exciterRectifierRegulationCharacteristicIEEE.y,realExpression.y,time [Calling sys.exit(0), Time elapsed: 7.940813758410513]