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.001287/0.001287, allocations: 85.36 kB / 20.68 MB, free: 1.035 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.001352/0.001352, allocations: 164.8 kB / 23.95 MB, free: 4.168 MB / 14.72 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.418/1.418, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1686/0.1686, allocations: 29.43 MB / 290.1 MB, free: 3.305 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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=740,variableFilter="Time|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=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 430.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.032e-05, allocations: 2.281 kB / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005581/0.005611, allocations: 3.859 MB / 434.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.007129, allocations: 0.8492 MB / 435.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.007263, allocations: 11.88 kB / 435.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.007444, allocations: 51.56 kB / 435.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005088/0.007952, allocations: 178.9 kB / 435.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.008142, allocations: 83.77 kB / 435.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004699/0.008612, allocations: 382.5 kB / 436.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.008784, allocations: 52.73 kB / 436.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004171/0.009202, allocations: 239.2 kB / 436.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.009502, allocations: 147.6 kB / 436.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.009544, allocations: 19.94 kB / 436.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.683e-05/0.00959, allocations: 16 kB / 436.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.009704, allocations: 87.72 kB / 436.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.009834, allocations: 83.83 kB / 436.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.01018, allocations: 251.1 kB / 437 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01018, allocations: 0 / 437 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01019, allocations: 0 / 437 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.0102, allocations: 8 kB / 437 MB, free: 11.63 MB / 366.1 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.0008621/0.01106, allocations: 494.4 kB / 437.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.0111, allocations: 12.03 kB / 437.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.824e-05/0.01116, allocations: 32.75 kB / 437.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.01163, allocations: 264 kB / 437.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.01166, allocations: 16.88 kB / 437.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.0117, allocations: 16.38 kB / 437.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004182/0.01212, allocations: 274.8 kB / 438.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.01213, allocations: 0 / 438.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.01215, allocations: 12 kB / 438.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.01216, allocations: 7.938 kB / 438.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.01243, allocations: 163.8 kB / 438.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.01371, allocations: 1.06 MB / 439.3 MB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.01386, allocations: 77.16 kB / 439.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.01391, allocations: 37.69 kB / 439.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.01392, allocations: 0 / 439.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.01396, allocations: 34.56 kB / 439.5 MB, free: 8.969 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.01396, allocations: 0 / 439.5 MB, free: 8.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006755/0.01463, allocations: 340.3 kB / 439.8 MB, free: 8.602 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.01469, allocations: 85.05 kB / 439.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.01491, allocations: 233.9 kB / 440.1 MB, free: 8.266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.01493, allocations: 29.7 kB / 440.2 MB, free: 8.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.01506, allocations: 196 kB / 440.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.01509, allocations: 31.75 kB / 440.4 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.01515, allocations: 41.7 kB / 440.4 MB, free: 7.957 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.0153, allocations: 338.8 kB / 440.7 MB, free: 7.617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.988e-05/0.01535, allocations: 23.98 kB / 440.8 MB, free: 7.594 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.01548, allocations: 116.9 kB / 440.9 MB, free: 7.434 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.01568, allocations: 168.7 kB / 441 MB, free: 7.223 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01568, allocations: 3.938 kB / 441.1 MB, free: 7.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002658/0.01595, allocations: 185.2 kB / 441.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.01596, allocations: 4 kB / 441.2 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.01597, allocations: 4 kB / 441.2 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.01599, allocations: 4 kB / 441.2 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.01614, allocations: 43.92 kB / 441.3 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.01615, allocations: 7.984 kB / 441.3 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.239e-05/0.01624, allocations: 12.38 kB / 441.3 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.01626, allocations: 16 kB / 441.3 MB, free: 6.941 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (22): * Single equations (assignments): 22 * 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 0.0001367/0.01639, allocations: 145.7 kB / 441.5 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.01644, allocations: 23.86 kB / 441.5 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.01659, allocations: 95.44 kB / 441.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.0166, allocations: 0 / 441.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.0166, allocations: 0 / 441.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.01661, allocations: 8.359 kB / 441.6 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.01702, allocations: 346.9 kB / 441.9 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.01702, allocations: 3.984 kB / 441.9 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.254e-05/0.01711, allocations: 24.03 kB / 442 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.01712, allocations: 3.938 kB / 442 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.01712, allocations: 0 / 442 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.01713, allocations: 7.938 kB / 442 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01713, allocations: 0 / 442 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.01738, allocations: 229 kB / 442.2 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.01742, allocations: 19.88 kB / 442.2 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.01745, allocations: 8 kB / 442.2 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/0.01754, allocations: 3.938 kB / 442.2 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.01756, allocations: 7.984 kB / 442.2 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.01756, allocations: 0 / 442.2 MB, free: 5.957 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.01771, allocations: 169.3 kB / 442.4 MB, free: 5.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01771, allocations: 0 / 442.4 MB, free: 5.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.018, allocations: 40 kB / 442.4 MB, free: 5.754 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * 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 9.447e-05/0.0181, allocations: 91.25 kB / 442.5 MB, free: 5.656 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.01827, allocations: 84.59 kB / 442.6 MB, free: 5.574 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01827, allocations: 0 / 442.6 MB, free: 5.574 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.293e-05/0.01833, allocations: 32 kB / 442.6 MB, free: 5.543 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.01878, allocations: 62.66 kB / 442.7 MB, free: 5.492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008007/0.01958, allocations: 460.3 kB / 443.1 MB, free: 5.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.01973, allocations: 154.2 kB / 443.3 MB, free: 4.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.352e-05/0.01982, allocations: 22.28 kB / 443.3 MB, free: 4.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.01986, allocations: 24.5 kB / 443.3 MB, free: 4.793 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.01986, allocations: 3.938 kB / 443.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of Templates: time 0.005287/0.02514, allocations: 1.77 MB / 445.1 MB, free: 3.066 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.487462390214205]