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.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.001317/0.001317, allocations: 104.3 kB / 20.49 MB, free: 1.379 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.001459/0.001459, allocations: 222 kB / 23.79 MB, free: 4.543 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.683/1.683, allocations: 207.7 MB / 234.6 MB, free: 9.801 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.06805/0.06805, allocations: 14.39 MB / 301.3 MB, free: 7.27 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_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.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.002179/0.002179, allocations: 63.91 kB / 425 MB, free: 36.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1036, allocations: 52.91 MB / 477.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.00218/0.1057, allocations: 0.7048 MB / 478.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001814/0.1059, allocations: 23.91 kB / 478.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.106, allocations: 4 kB / 478.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.106, allocations: 3.938 kB / 478.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.849e-05/0.106, allocations: 4 kB / 478.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.1062, allocations: 0 / 478.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.1063, allocations: 23.98 kB / 478.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.808e-05/0.1064, allocations: 0 / 478.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.1064, allocations: 8 kB / 478.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.1065, allocations: 11.98 kB / 478.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1065, allocations: 3.984 kB / 478.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.1065, allocations: 4 kB / 478.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.1066, allocations: 7.938 kB / 478.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.1066, allocations: 4 kB / 478.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.1067, allocations: 15.97 kB / 478.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1067, allocations: 0 / 478.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1067, allocations: 0 / 478.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1067, allocations: 0 / 478.7 MB, free: 14.42 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.000424/0.1072, allocations: 272 kB / 479 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1072, allocations: 12.03 kB / 479 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.1072, allocations: 0.9375 kB / 479 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.586e-05/0.1073, allocations: 110.5 kB / 479.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1073, allocations: 384 / 479.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1073, allocations: 8.375 kB / 479.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.1075, allocations: 67.95 kB / 479.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1075, allocations: 8.125 kB / 479.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1075, allocations: 3.938 kB / 479.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1075, allocations: 0 / 479.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.18e-05/0.1076, allocations: 37.69 kB / 479.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.1081, allocations: 196.6 kB / 479.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.752e-05/0.1082, allocations: 52.28 kB / 479.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.419e-05/0.1082, allocations: 42.61 kB / 479.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.1082, allocations: 11.92 kB / 479.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.1083, allocations: 34.56 kB / 479.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1083, allocations: 0 / 479.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002931/0.1086, allocations: 138.7 kB / 479.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.1086, allocations: 81.11 kB / 479.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.047e-05/0.1087, allocations: 89.86 kB / 479.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.1087, allocations: 29.7 kB / 479.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.1088, allocations: 88.03 kB / 480 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.1088, allocations: 11.94 kB / 480 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.1088, allocations: 13.72 kB / 480 MB, free: 12.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.109, allocations: 315 kB / 480.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.664e-05/0.109, allocations: 33.7 kB / 480.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.1091, allocations: 37.69 kB / 480.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.193e-05/0.1092, allocations: 76.27 kB / 480.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1092, allocations: 0 / 480.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001398/0.1093, allocations: 113 kB / 480.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.1093, allocations: 33.69 kB / 480.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1093, allocations: 0 / 480.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1094, allocations: 0 / 480.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.066e-05/0.1094, allocations: 4.094 kB / 480.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1094, allocations: 4 kB / 480.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.005e-05/0.1095, allocations: 8 kB / 480.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1095, allocations: 0 / 480.6 MB, free: 12.25 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.0001102/0.1096, allocations: 135.5 kB / 480.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.1096, allocations: 7.922 kB / 480.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.094e-05/0.1096, allocations: 7.109 kB / 480.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1096, allocations: 0 / 480.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1096, allocations: 4 kB / 480.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1096, allocations: 0 / 480.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.1098, allocations: 101.3 kB / 480.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1098, allocations: 8 kB / 480.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.176e-05/0.1098, allocations: 3.984 kB / 480.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1098, allocations: 3.938 kB / 480.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1098, allocations: 0 / 480.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1098, allocations: 0 / 480.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1098, allocations: 4 kB / 480.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.1105, allocations: 1.009 MB / 481.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.1105, allocations: 11.88 kB / 481.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.1105, allocations: 0 / 481.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.1106, allocations: 12.02 kB / 481.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.1107, allocations: 4 kB / 481.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.1107, allocations: 3.938 kB / 481.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.964e-05/0.1107, allocations: 75.28 kB / 482 MB, free: 10.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1107, allocations: 0 / 482 MB, free: 10.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003658/0.1111, allocations: 8 kB / 482 MB, free: 10.73 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.0001218/0.1112, allocations: 95.25 kB / 482.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.1114, allocations: 134.8 kB / 482.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1114, allocations: 0 / 482.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.1115, allocations: 93.17 kB / 482.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.1117, allocations: 7.938 kB / 482.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.112, allocations: 233.3 kB / 482.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.081e-05/0.1121, allocations: 55.36 kB / 482.6 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.067e-05/0.1121, allocations: 0 / 482.6 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.1121, allocations: 7.438 kB / 482.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1121, allocations: 0 / 482.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of Templates: time 0.002906/0.115, allocations: 0.628 MB / 483.3 MB, free: 9.379 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=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE.pipe 2>&1) [Timeout 50] 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.940250176005065]