Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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.001424/0.001424, allocations: 108.6 kB / 20.34 MB, free: 1.574 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.001521/0.001521, allocations: 185.3 kB / 23.6 MB, free: 5.09 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.47/1.47, allocations: 207.6 MB / 234.3 MB, free: 10 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.07509/0.07509, allocations: 14.37 MB / 300.9 MB, free: 7.5 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: translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") translateModel(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="exciterRectifierRegulationCharacteristicIEEE.y|realExpression.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE") [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.002375/0.002375, allocations: 75.88 kB / 424.6 MB, free: 36.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07758/0.07995, allocations: 52.89 MB / 477.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002222/0.08218, allocations: 0.7137 MB / 478.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001748/0.08235, allocations: 27.89 kB / 478.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.63e-05/0.08239, allocations: 0 / 478.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.08241, allocations: 7.875 kB / 478.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/0.08246, allocations: 0 / 478.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.08259, allocations: 11.94 kB / 478.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.0827, allocations: 23.98 kB / 478.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.423e-05/0.08278, allocations: 3.984 kB / 478.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.81e-05/0.08281, allocations: 8 kB / 478.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.897e-05/0.08288, allocations: 7.984 kB / 478.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.08289, allocations: 4 kB / 478.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.0829, allocations: 4 kB / 478.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.08292, allocations: 0 / 478.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.08295, allocations: 7.938 kB / 478.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.027e-05/0.08304, allocations: 15.97 kB / 478.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.08304, allocations: 0 / 478.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.669e-06/0.08305, allocations: 4 kB / 478.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.08305, allocations: 0 / 478.3 MB, free: 14.68 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.0004135/0.08347, allocations: 272 kB / 478.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.08351, allocations: 12.03 kB / 478.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.08354, allocations: 4.938 kB / 478.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.08368, allocations: 102.5 kB / 478.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.0837, allocations: 4.375 kB / 478.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.08371, allocations: 384 / 478.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.08385, allocations: 46.25 kB / 478.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.08385, allocations: 192 / 478.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.08387, allocations: 3.938 kB / 478.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.08387, allocations: 0 / 478.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.998e-05/0.08391, allocations: 11.98 kB / 478.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.0844, allocations: 227.9 kB / 479 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.401e-05/0.08447, allocations: 34.5 kB / 479 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/0.08452, allocations: 16.95 kB / 479.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.08453, allocations: 0 / 479.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.08456, allocations: 30.56 kB / 479.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.08457, allocations: 8 kB / 479.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002479/0.08481, allocations: 83.33 kB / 479.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.08489, allocations: 77.11 kB / 479.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.907e-05/0.08494, allocations: 89.86 kB / 479.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.08496, allocations: 33.7 kB / 479.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.08501, allocations: 84.09 kB / 479.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.08503, allocations: 7.938 kB / 479.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.08508, allocations: 13.72 kB / 479.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.08524, allocations: 315 kB / 479.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.08526, allocations: 8 kB / 479.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/0.08529, allocations: 11.98 kB / 479.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.204e-05/0.08537, allocations: 76.27 kB / 479.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.08537, allocations: 3.938 kB / 479.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001308/0.0855, allocations: 87.27 kB / 480 MB, free: 12.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.08554, allocations: 29.7 kB / 480 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.08555, allocations: 0 / 480 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.08556, allocations: 4.094 kB / 480 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.151e-05/0.08562, allocations: 4 kB / 480 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.08562, allocations: 0 / 480 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.08568, allocations: 7.984 kB / 480 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.08569, allocations: 0 / 480 MB, free: 12.77 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.0001196/0.08581, allocations: 135.5 kB / 480.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.08584, allocations: 3.938 kB / 480.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.08586, allocations: 11.11 kB / 480.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.08586, allocations: 0 / 480.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.08586, allocations: 4 kB / 480.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.08587, allocations: 4 kB / 480.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.08603, allocations: 124.7 kB / 480.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.08603, allocations: 0 / 480.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.521e-05/0.08605, allocations: 8 kB / 480.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.08605, allocations: 0 / 480.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.08606, allocations: 3.938 kB / 480.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.08606, allocations: 0 / 480.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.08606, allocations: 4 kB / 480.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007035/0.08676, allocations: 0.9549 MB / 481.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.08677, allocations: 11.88 kB / 481.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.08679, allocations: 0 / 481.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.08688, allocations: 15.92 kB / 481.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.08693, allocations: 4.031 kB / 481.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.08693, allocations: 0 / 481.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.414e-05/0.08698, allocations: 75.28 kB / 481.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.08698, allocations: 0 / 481.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003442/0.08732, allocations: 8 kB / 481.4 MB, free: 11.28 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.000121/0.08744, allocations: 95.25 kB / 481.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.0876, allocations: 75.39 kB / 481.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.0876, allocations: 0 / 481.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.558e-05/0.08767, allocations: 71.45 kB / 481.6 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.08789, allocations: 4 kB / 481.6 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.08828, allocations: 203.6 kB / 481.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.08863, allocations: 0.6768 MB / 482.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.203e-05/0.08864, allocations: 0 / 482.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.08866, allocations: 7.438 kB / 482.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.08866, allocations: 3.938 kB / 482.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of Templates: time 0.003243/0.0919, allocations: 0.594 MB / 483.1 MB, free: 9.469 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_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.510378225997556]