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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 107 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 200.5 kB / 19.41 MB, free: 3.664 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.428/1.428, allocations: 207.6 MB / 229.8 MB, free: 11.43 MB / 190.1 MB " [Timeout remaining time 178] 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.06816/0.06816, allocations: 14.41 MB / 296.1 MB, free: 8.641 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.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: "" <> 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: 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.002925/0.002925, allocations: 75.89 kB / 417.5 MB, free: 38.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1304, allocations: 52.87 MB / 470.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00308/0.1335, allocations: 0.6972 MB / 471.1 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002303/0.1337, allocations: 27.89 kB / 471.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.1338, allocations: 0 / 471.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.827e-05/0.1338, allocations: 0 / 471.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.331e-05/0.1338, allocations: 7.938 kB / 471.1 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.134, allocations: 7.984 kB / 471.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.1342, allocations: 23.92 kB / 471.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1343, allocations: 7.984 kB / 471.2 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.094e-05/0.1343, allocations: 8 kB / 471.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.816e-05/0.1344, allocations: 7.984 kB / 471.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.1344, allocations: 0 / 471.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.1344, allocations: 4 kB / 471.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.1345, allocations: 4 kB / 471.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.234e-05/0.1345, allocations: 15.94 kB / 471.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.1346, allocations: 11.98 kB / 471.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1346, allocations: 0 / 471.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1346, allocations: 0 / 471.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1346, allocations: 0 / 471.2 MB, free: 0.8398 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.0004978/0.1351, allocations: 345.2 kB / 471.5 MB, free: 456 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.1352, allocations: 12.03 kB / 471.6 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/0.1352, allocations: 30.75 kB / 471.6 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.1353, allocations: 4.922 kB / 471.6 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.1354, allocations: 164.4 kB / 471.7 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.1354, allocations: 8.312 kB / 471.8 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.1354, allocations: 384 / 471.8 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1356, allocations: 46.19 kB / 471.8 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1356, allocations: 3.938 kB / 471.8 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.1356, allocations: 3.984 kB / 471.8 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1356, allocations: 4 kB / 471.8 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.674e-05/0.1357, allocations: 11.98 kB / 471.8 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/0.1363, allocations: 252.9 kB / 472.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.1364, allocations: 34.48 kB / 472.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.137e-05/0.1365, allocations: 12.92 kB / 472.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.1365, allocations: 0 / 472.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.1365, allocations: 34.56 kB / 472.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.654e-06/0.1365, allocations: 0 / 472.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003258/0.1369, allocations: 87.39 kB / 472.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/0.1369, allocations: 77.11 kB / 472.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.977e-05/0.137, allocations: 93.86 kB / 472.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.137, allocations: 25.7 kB / 472.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.1371, allocations: 84.09 kB / 472.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.1371, allocations: 11.94 kB / 472.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.661e-05/0.1372, allocations: 13.72 kB / 472.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.1374, allocations: 314.9 kB / 472.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.19e-05/0.1375, allocations: 12 kB / 472.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.775e-05/0.1375, allocations: 11.98 kB / 472.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.1376, allocations: 76.27 kB / 472.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1376, allocations: 0 / 472.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001856/0.1378, allocations: 83.33 kB / 473 MB, free: 14.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/0.1379, allocations: 31.58 kB / 473.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1379, allocations: 0 / 473.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.1379, allocations: 4 kB / 473.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.1379, allocations: 4.094 kB / 473.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.138, allocations: 0 / 473.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.1381, allocations: 15.92 kB / 473.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1381, allocations: 0 / 473.1 MB, free: 14.69 MB / 350.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.000153/0.1382, allocations: 139.5 kB / 473.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.1383, allocations: 0 / 473.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.1383, allocations: 7.078 kB / 473.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1383, allocations: 0 / 473.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.1383, allocations: 4 kB / 473.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1383, allocations: 4 kB / 473.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.1386, allocations: 157.6 kB / 473.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1386, allocations: 0 / 473.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.1386, allocations: 4 kB / 473.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.1386, allocations: 3.938 kB / 473.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1386, allocations: 3.938 kB / 473.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1386, allocations: 0 / 473.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.1386, allocations: 4 kB / 473.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.1389, allocations: 181.2 kB / 473.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.139, allocations: 81.05 kB / 473.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.139, allocations: 3.984 kB / 473.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.1391, allocations: 7.938 kB / 473.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.1392, allocations: 0 / 473.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.1392, allocations: 4 kB / 473.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.507e-05/0.1392, allocations: 75.28 kB / 473.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1392, allocations: 0 / 473.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003952/0.1396, allocations: 4 kB / 473.7 MB, free: 13.91 MB / 350.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.0007446/0.1404, allocations: 0.718 MB / 474.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.1406, allocations: 83.33 kB / 474.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1406, allocations: 0 / 474.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1407, allocations: 63.41 kB / 474.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.141, allocations: 4.156 kB / 474.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.1416, allocations: 122.7 kB / 474.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.1421, allocations: 0.6729 MB / 475.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.424e-05/0.1421, allocations: 4 kB / 475.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.1421, allocations: 7.438 kB / 475.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1421, allocations: 0 / 475.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/0.1709, allocations: 1.332 MB / 476.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/8.131, allocations: 9.406 kB / 476.8 MB, free: 10.85 MB / 350.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.751942147035152]