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.001719/0.001719, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002261/0.002261, allocations: 219 kB / 22.26 MB, free: 5.125 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.399/1.399, allocations: 207.6 MB / 233 MB, free: 9.984 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.07165/0.07165, allocations: 14.39 MB / 299.7 MB, free: 7.445 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: "" <> 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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002492/0.002492, allocations: 75.89 kB / 423 MB, free: 36.9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07922/0.08171, allocations: 52.9 MB / 475.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002244/0.08396, allocations: 0.7016 MB / 476.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001814/0.08414, allocations: 39.72 kB / 476.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.08417, allocations: 0 / 476.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.08419, allocations: 0 / 476.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.148e-05/0.08423, allocations: 0 / 476.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.08438, allocations: 11.92 kB / 476.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.132e-05/0.08447, allocations: 12 kB / 476.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.358e-05/0.08455, allocations: 8 kB / 476.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.441e-05/0.08458, allocations: 7.984 kB / 476.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.236e-05/0.08463, allocations: 4 kB / 476.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.08464, allocations: 4 kB / 476.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-06/0.08465, allocations: 4 kB / 476.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.08466, allocations: 0 / 476.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.0847, allocations: 19.92 kB / 476.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.372e-05/0.08477, allocations: 11.97 kB / 476.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.08478, allocations: 4 kB / 476.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.08478, allocations: 0 / 476.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.08478, allocations: 0 / 476.7 MB, free: 15.09 MB / 350.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.0003447/0.08513, allocations: 268.1 kB / 477 MB, free: 14.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.08517, allocations: 8.031 kB / 477 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/0.08521, allocations: 34.75 kB / 477 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.08523, allocations: 8.938 kB / 477 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.677e-05/0.08532, allocations: 102.5 kB / 477.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.08534, allocations: 4.312 kB / 477.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.08535, allocations: 4.375 kB / 477.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.08546, allocations: 54.16 kB / 477.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.08547, allocations: 7.875 kB / 477.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.08548, allocations: 0 / 477.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.08549, allocations: 0 / 477.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.625e-05/0.08552, allocations: 12 kB / 477.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.08596, allocations: 224 kB / 477.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.32e-05/0.08603, allocations: 30.45 kB / 477.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.08607, allocations: 12.92 kB / 477.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.08608, allocations: 0 / 477.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.08611, allocations: 30.56 kB / 477.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.08611, allocations: 4 kB / 477.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002288/0.08634, allocations: 91.38 kB / 477.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.08641, allocations: 81.05 kB / 477.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.012e-05/0.08646, allocations: 89.86 kB / 477.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.08648, allocations: 25.7 kB / 477.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.08652, allocations: 88.09 kB / 477.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.08655, allocations: 7.953 kB / 477.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.08658, allocations: 13.72 kB / 477.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.08672, allocations: 315 kB / 478.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/0.08675, allocations: 11.98 kB / 478.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.08676, allocations: 4 kB / 478.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.705e-05/0.08684, allocations: 76.27 kB / 478.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.08684, allocations: 0 / 478.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001158/0.08696, allocations: 83.33 kB / 478.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.087, allocations: 33.69 kB / 478.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.087, allocations: 0 / 478.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.08702, allocations: 8.031 kB / 478.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.532e-05/0.08706, allocations: 4 kB / 478.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.08707, allocations: 0 / 478.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.08712, allocations: 0 / 478.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.08713, allocations: 8 kB / 478.4 MB, free: 13.14 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.0001092/0.08724, allocations: 139.5 kB / 478.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.08726, allocations: 3.984 kB / 478.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.863e-05/0.08728, allocations: 7.109 kB / 478.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.08728, allocations: 0 / 478.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.08729, allocations: 4 kB / 478.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.08729, allocations: 3.938 kB / 478.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.08745, allocations: 128.7 kB / 478.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.08745, allocations: 0 / 478.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.08746, allocations: 4 kB / 478.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.08747, allocations: 0 / 478.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.08747, allocations: 0 / 478.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.08747, allocations: 0 / 478.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.08748, allocations: 7.922 kB / 478.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.08766, allocations: 189.1 kB / 478.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-06/0.08766, allocations: 3.938 kB / 478.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.08768, allocations: 0 / 478.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.08775, allocations: 4 kB / 478.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.08779, allocations: 3.984 kB / 478.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.0878, allocations: 8 kB / 478.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.563e-05/0.08784, allocations: 75.28 kB / 479 MB, free: 12.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.08784, allocations: 0 / 479 MB, free: 12.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.08805, allocations: 12.03 kB / 479 MB, free: 12.48 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.0005369/0.08859, allocations: 0.7063 MB / 479.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.08874, allocations: 79.33 kB / 479.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.08874, allocations: 0 / 479.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.587e-05/0.08882, allocations: 71.48 kB / 479.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.08902, allocations: 4 kB / 479.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.08941, allocations: 122.6 kB / 480 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.08975, allocations: 0.6729 MB / 480.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.151e-05/0.08976, allocations: 0 / 480.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.08979, allocations: 7.438 kB / 480.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.08979, allocations: 0 / 480.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.1161, allocations: 1.443 MB / 482.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.1, allocations: 7.922 kB / 482.1 MB, free: 9.281 MB / 350.1 MB " [Timeout remaining time 649] (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/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) [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: 13.73054835991934]