Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.001044/0.001044, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001793/0.002837, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001039/0.001039, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001115/0.002154, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1157/1.132, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1154/0.1154, allocations: 29.44 MB / 273.4 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1457/0.2612, allocations: 9.527 MB / 283 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.753e-05, allocations: 2.969 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004253/0.004281, allocations: 3.847 MB / 288.1 MB, free: 8.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.005503, allocations: 0.8974 MB / 289 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.005652, allocations: 15.09 kB / 289 MB, free: 8.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.005766, allocations: 42.75 kB / 289 MB, free: 8.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.006083, allocations: 178.6 kB / 289.2 MB, free: 7.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.006238, allocations: 82.3 kB / 289.3 MB, free: 7.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000335/0.006573, allocations: 378.6 kB / 289.7 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.006723, allocations: 67.38 kB / 289.7 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004043/0.007127, allocations: 282.7 kB / 290 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.007325, allocations: 120.8 kB / 290.1 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.007357, allocations: 20.5 kB / 290.1 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.433e-05/0.007391, allocations: 16 kB / 290.2 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.502e-05/0.007476, allocations: 73.23 kB / 290.2 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.007569, allocations: 72.31 kB / 290.3 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.0078, allocations: 171.8 kB / 290.5 MB, free: 7.316 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.587e-05/0.007816, allocations: 0 / 290.5 MB, free: 7.316 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007817, allocations: 0 / 290.5 MB, free: 7.316 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.007833, allocations: 1.406 kB / 290.5 MB, free: 7.316 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006058/0.008439, allocations: 0.5048 MB / 291 MB, free: 6.918 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.008466, allocations: 9.625 kB / 291 MB, free: 6.918 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/0.008521, allocations: 33.53 kB / 291 MB, free: 6.906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.00885, allocations: 249.8 kB / 291.3 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.008867, allocations: 13.12 kB / 291.3 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.008895, allocations: 22.12 kB / 291.3 MB, free: 6.688 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.009082, allocations: 200.5 kB / 291.5 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.009091, allocations: 1.375 kB / 291.5 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.009104, allocations: 6.75 kB / 291.5 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.009111, allocations: 5.5 kB / 291.5 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.113e-05/0.009192, allocations: 70.25 kB / 291.6 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007543/0.009947, allocations: 0.9859 MB / 292.6 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.01005, allocations: 63.67 kB / 292.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/0.01007, allocations: 16.75 kB / 292.6 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.01009, allocations: 3.031 kB / 292.6 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.01011, allocations: 35.88 kB / 292.7 MB, free: 5.453 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.01011, allocations: 0 / 292.7 MB, free: 5.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.000201/0.01031, allocations: 91.22 kB / 292.8 MB, free: 5.398 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.01035, allocations: 82.38 kB / 292.8 MB, free: 5.301 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.01047, allocations: 235.3 kB / 293.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.01048, allocations: 29.64 kB / 293.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.01056, allocations: 176.5 kB / 293.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.01058, allocations: 27.88 kB / 293.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.01062, allocations: 38.59 kB / 293.3 MB, free: 4.863 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.0107, allocations: 331.4 kB / 293.7 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.01072, allocations: 18.41 kB / 293.7 MB, free: 4.527 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-05/0.01077, allocations: 104.4 kB / 293.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.01088, allocations: 142.7 kB / 293.9 MB, free: 4.254 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01088, allocations: 1.75 kB / 293.9 MB, free: 4.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001324/0.01101, allocations: 129.1 kB / 294 MB, free: 4.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.01103, allocations: 11 kB / 294.1 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.01103, allocations: 3.312 kB / 294.1 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.01105, allocations: 4.531 kB / 294.1 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.0112, allocations: 49.44 kB / 294.1 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.01121, allocations: 8.281 kB / 294.1 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.013e-05/0.01127, allocations: 26.78 kB / 294.2 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/0.01128, allocations: 5.562 kB / 294.2 MB, free: 4.141 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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 8.241e-05/0.01136, allocations: 129.2 kB / 294.3 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.01139, allocations: 16.95 kB / 294.3 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.01149, allocations: 79.62 kB / 294.4 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.0115, allocations: 1.688 kB / 294.4 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.0115, allocations: 0 / 294.4 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.0115, allocations: 1.438 kB / 294.4 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.01164, allocations: 115.4 kB / 294.5 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.01164, allocations: 1.719 kB / 294.5 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.857e-05/0.01172, allocations: 17.8 kB / 294.5 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/0.01174, allocations: 17.14 kB / 294.5 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01174, allocations: 1.812 kB / 294.5 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.01175, allocations: 5.672 kB / 294.5 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01175, allocations: 0 / 294.5 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01175, allocations: 5.438 kB / 294.5 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.01188, allocations: 184.2 kB / 294.7 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.0119, allocations: 4 kB / 294.7 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.955e-05/0.01194, allocations: 0 / 294.7 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.01195, allocations: 6.422 kB / 294.7 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.01195, allocations: 1.594 kB / 294.7 MB, free: 3.641 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.716e-05/0.012, allocations: 76.22 kB / 294.8 MB, free: 3.605 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.012, allocations: 0 / 294.8 MB, free: 3.605 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001739/0.01217, allocations: 48.39 kB / 294.9 MB, free: 3.594 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.214e-05/0.01226, allocations: 82.39 kB / 294.9 MB, free: 3.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.01236, allocations: 72.92 kB / 295 MB, free: 3.484 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.01237, allocations: 3.219 kB / 295 MB, free: 3.484 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.803e-05/0.0124, allocations: 20.53 kB / 295 MB, free: 3.473 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.01265, allocations: 78.09 kB / 295.1 MB, free: 3.441 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.01603, allocations: 499.6 kB / 295.6 MB, free: 3.016 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.456e-05/0.01608, allocations: 92.3 kB / 295.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.324e-05/0.01617, allocations: 29.92 kB / 295.7 MB, free: 2.879 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.558e-05/0.01626, allocations: 83.36 kB / 295.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01626, allocations: 0 / 295.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of Templates: time 0.004077/0.02034, allocations: 2.052 MB / 297.8 MB, free: 0.8086 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Source.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.765897860750556]