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.001622/0.001622, allocations: 100.4 kB / 20.49 MB, free: 1.32 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.002115/0.002115, allocations: 219.5 kB / 23.8 MB, free: 4.457 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.589/1.589, allocations: 207.7 MB / 234.6 MB, free: 9.785 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.07141/0.07141, allocations: 14.4 MB / 301.3 MB, free: 7.23 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.002246/0.002246, allocations: 71.89 kB / 425.1 MB, free: 36.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/0.09518, allocations: 52.9 MB / 478 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestExciterRectifierRegulationCharacteristicIEEE): time 0.002247/0.09743, allocations: 0.7174 MB / 478.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001765/0.0976, allocations: 27.91 kB / 478.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.213e-05/0.09763, allocations: 0 / 478.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.09766, allocations: 0 / 478.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.081e-05/0.0977, allocations: 0 / 478.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.09784, allocations: 11.98 kB / 478.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.816e-05/0.09794, allocations: 24 kB / 478.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.09802, allocations: 3.984 kB / 478.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.227e-05/0.09804, allocations: 4 kB / 478.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.457e-05/0.0981, allocations: 15.92 kB / 478.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.09811, allocations: 0 / 478.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.742e-06/0.09812, allocations: 0 / 478.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.09814, allocations: 7.938 kB / 478.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.09817, allocations: 3.984 kB / 478.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.529e-05/0.09825, allocations: 11.98 kB / 478.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.09825, allocations: 0 / 478.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09825, allocations: 4 kB / 478.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.09826, allocations: 0 / 478.8 MB, free: 14.39 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.0003471/0.0986, allocations: 272.1 kB / 479 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.09864, allocations: 8.031 kB / 479.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.09866, allocations: 4.938 kB / 479.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.162e-05/0.09875, allocations: 106.5 kB / 479.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.09876, allocations: 4.375 kB / 479.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.09877, allocations: 4.375 kB / 479.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.09892, allocations: 75.88 kB / 479.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.09893, allocations: 192 / 479.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.09894, allocations: 7.875 kB / 479.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.09894, allocations: 8 kB / 479.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.881e-05/0.09899, allocations: 33.7 kB / 479.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.09938, allocations: 192.6 kB / 479.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.822e-05/0.09948, allocations: 48.28 kB / 479.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.669e-05/0.09953, allocations: 46.66 kB / 479.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.09954, allocations: 7.875 kB / 479.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.09959, allocations: 38.5 kB / 479.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.09959, allocations: 0 / 479.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002496/0.09984, allocations: 138.9 kB / 479.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.0999, allocations: 85.09 kB / 479.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.413e-05/0.09995, allocations: 93.86 kB / 479.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.09997, allocations: 25.7 kB / 480 MB, free: 13.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.1, allocations: 84.09 kB / 480 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.1, allocations: 3.953 kB / 480 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.1001, allocations: 13.72 kB / 480.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1002, allocations: 314.8 kB / 480.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/0.1003, allocations: 41.69 kB / 480.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.123e-05/0.1003, allocations: 29.7 kB / 480.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.73e-05/0.1004, allocations: 88.28 kB / 480.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1004, allocations: 0 / 480.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001365/0.1006, allocations: 109 kB / 480.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.1006, allocations: 33.7 kB / 480.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1006, allocations: 0 / 480.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1006, allocations: 0 / 480.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.134e-05/0.1006, allocations: 4 kB / 480.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1007, allocations: 0 / 480.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.1007, allocations: 0 / 480.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.1007, allocations: 4 kB / 480.7 MB, free: 12.23 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 9.683e-05/0.1008, allocations: 139.6 kB / 480.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.1008, allocations: 7.938 kB / 480.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/0.1009, allocations: 11.11 kB / 480.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1009, allocations: 0 / 480.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1009, allocations: 3.938 kB / 480.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1009, allocations: 7.922 kB / 480.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.101, allocations: 101.3 kB / 480.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.101, allocations: 0 / 480.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.345e-05/0.101, allocations: 4 kB / 480.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.101, allocations: 3.938 kB / 480.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1011, allocations: 4 kB / 480.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1011, allocations: 0 / 480.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1011, allocations: 0 / 480.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006504/0.1017, allocations: 1.013 MB / 482 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.1017, allocations: 3.938 kB / 482 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.1017, allocations: 12 kB / 482 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.1018, allocations: 0 / 482 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.1019, allocations: 4 kB / 482 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.1019, allocations: 3.938 kB / 482 MB, free: 10.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.362e-05/0.1019, allocations: 83.2 kB / 482.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1019, allocations: 4.031 kB / 482.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003543/0.1023, allocations: 4 kB / 482.1 MB, free: 10.7 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.0001059/0.1024, allocations: 95.25 kB / 482.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.1026, allocations: 138.7 kB / 482.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1026, allocations: 0 / 482.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.62e-05/0.1026, allocations: 93.09 kB / 482.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.1029, allocations: 4 kB / 482.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.1033, allocations: 225.4 kB / 482.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.887e-05/0.1033, allocations: 63.47 kB / 482.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.401e-05/0.1034, allocations: 4 kB / 482.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.1034, allocations: 7.438 kB / 482.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1034, allocations: 0 / 482.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of Templates: time 0.002972/0.1064, allocations: 0.6009 MB / 483.3 MB, free: 9.371 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 -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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.945820591878146]