Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.0009198/0.0009198, allocations: 73.11 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003879/0.004798, allocations: 453.8 kB / 10.45 MB, free: 248 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.0009355/0.0009355, allocations: 157.2 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002811/0.003746, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9842/0.9842, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1113/1.096, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.1317/0.1317, allocations: 29.44 MB / 273.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1375/0.2692, allocations: 9.538 MB / 283.2 MB, free: 12.82 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.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.671e-05, allocations: 2.312 kB / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004976/0.005003, allocations: 4.083 MB / 288.5 MB, free: 8.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.00629, allocations: 0.9593 MB / 289.5 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.006443, allocations: 20.06 kB / 289.5 MB, free: 7.867 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.006578, allocations: 57.05 kB / 289.6 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.006958, allocations: 238.7 kB / 289.8 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.007174, allocations: 110.9 kB / 289.9 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004833/0.007657, allocations: 0.502 MB / 290.4 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.007852, allocations: 102.8 kB / 290.5 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.008321, allocations: 351 kB / 290.9 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.008604, allocations: 217.6 kB / 291.1 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.008644, allocations: 23.38 kB / 291.1 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.363e-05/0.008698, allocations: 26 kB / 291.1 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.008834, allocations: 140.6 kB / 291.3 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.008948, allocations: 94.31 kB / 291.4 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.009238, allocations: 246.1 kB / 291.6 MB, free: 6.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.009249, allocations: 0 / 291.6 MB, free: 6.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.00925, allocations: 1 kB / 291.6 MB, free: 6.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.009261, allocations: 0 / 291.6 MB, free: 6.703 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006991/0.00996, allocations: 0.6084 MB / 292.2 MB, free: 6.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.00999, allocations: 12.62 kB / 292.2 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.517e-05/0.01006, allocations: 46.11 kB / 292.3 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.0104, allocations: 297.8 kB / 292.5 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.01043, allocations: 18.34 kB / 292.6 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.01047, allocations: 26.69 kB / 292.6 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.01079, allocations: 251.7 kB / 292.8 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.0108, allocations: 0 / 292.8 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.01082, allocations: 11.62 kB / 292.9 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.373e-05/0.01088, allocations: 11.66 kB / 292.9 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.011, allocations: 90.45 kB / 292.9 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008259/0.01182, allocations: 1.036 MB / 294 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.01204, allocations: 165.5 kB / 294.1 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.585e-05/0.01213, allocations: 47.72 kB / 294.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.01214, allocations: 2.188 kB / 294.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.01216, allocations: 32.69 kB / 294.2 MB, free: 4.617 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.01217, allocations: 4 kB / 294.2 MB, free: 4.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.000418/0.01258, allocations: 187.1 kB / 294.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.01262, allocations: 87.14 kB / 294.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.01277, allocations: 264.6 kB / 294.8 MB, free: 4.188 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.01278, allocations: 25.7 kB / 294.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.01293, allocations: 200.4 kB / 295 MB, free: 3.953 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.01297, allocations: 47.58 kB / 295 MB, free: 3.906 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.01302, allocations: 46.05 kB / 295.1 MB, free: 3.855 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.0131, allocations: 350.7 kB / 295.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.105e-05/0.01313, allocations: 27.28 kB / 295.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.496e-05/0.01319, allocations: 104.9 kB / 295.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.01332, allocations: 175.2 kB / 295.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01332, allocations: 0 / 295.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001829/0.0135, allocations: 180 kB / 295.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.01352, allocations: 8 kB / 295.9 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01352, allocations: 7.938 kB / 295.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/0.01364, allocations: 27.66 kB / 295.9 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.01374, allocations: 59.86 kB / 296 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006141/0.01436, allocations: 1.214 MB / 297.2 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/0.01443, allocations: 23.84 kB / 297.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.01445, allocations: 7.984 kB / 297.2 MB, free: 1.484 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.796e-05/0.01452, allocations: 132.5 kB / 297.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.01455, allocations: 19.92 kB / 297.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.01471, allocations: 137.6 kB / 297.5 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.01472, allocations: 7.938 kB / 297.5 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.01472, allocations: 0 / 297.5 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.01472, allocations: 8.047 kB / 297.5 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003417/0.01507, allocations: 386.3 kB / 297.9 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.01507, allocations: 7.984 kB / 297.9 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-05/0.01512, allocations: 19.94 kB / 297.9 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.01514, allocations: 23.86 kB / 298 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.01524, allocations: 39.59 kB / 298 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.01525, allocations: 11.98 kB / 298 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007463/0.016, allocations: 1.22 MB / 299.2 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.016, allocations: 0 / 299.2 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.0162, allocations: 303.8 kB / 299.5 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.01622, allocations: 7.922 kB / 299.5 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.77e-05/0.01628, allocations: 8 kB / 299.5 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.0163, allocations: 12.12 kB / 299.6 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.01631, allocations: 4 kB / 299.6 MB, free: 14.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.289e-05/0.01637, allocations: 100.6 kB / 299.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01637, allocations: 0 / 299.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.01657, allocations: 83.84 kB / 299.7 MB, free: 14.8 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.369e-05/0.01666, allocations: 84.36 kB / 299.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.01689, allocations: 216.3 kB / 300 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/0.0169, allocations: 4 kB / 300 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.01705, allocations: 175.5 kB / 300.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.01743, allocations: 0.5095 MB / 300.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/0.02147, allocations: 0.6268 MB / 301.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.538e-05/0.02154, allocations: 116.3 kB / 301.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.062e-05/0.02162, allocations: 34.95 kB / 301.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.02173, allocations: 103.3 kB / 301.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02173, allocations: 0 / 301.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of Templates: time 0.005473/0.02721, allocations: 3.3 MB / 304.9 MB, free: 9.535 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.855962948873639]