Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.0008428/0.0008428, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001221/0.002064, allocations: 449.8 kB / 10.44 MB, free: 252 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.001134/0.001134, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001472/0.002606, 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 1.069/1.069, allocations: 177.2 MB / 189.8 MB, free: 5.27 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0974/1.167, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.1159/0.1159, allocations: 29.45 MB / 273.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1558/0.2717, allocations: 9.527 MB / 283.1 MB, free: 12.83 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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.019e-05, allocations: 4.75 kB / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.004751/0.004781, allocations: 4.011 MB / 288.5 MB, free: 8.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.006239, allocations: 0.929 MB / 289.4 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.006406, allocations: 14.19 kB / 289.4 MB, free: 7.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.006538, allocations: 48.17 kB / 289.5 MB, free: 7.902 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.006937, allocations: 183.8 kB / 289.6 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.007151, allocations: 95.61 kB / 289.7 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004789/0.00763, allocations: 412.6 kB / 290.1 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.007824, allocations: 81.39 kB / 290.2 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005167/0.008341, allocations: 295.1 kB / 290.5 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.008593, allocations: 144.2 kB / 290.6 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.008633, allocations: 17.88 kB / 290.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.774e-05/0.008681, allocations: 19.25 kB / 290.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.766e-05/0.008769, allocations: 82.52 kB / 290.8 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.00887, allocations: 77.81 kB / 290.8 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.00916, allocations: 187.5 kB / 291 MB, free: 7.016 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.211e-05/0.009172, allocations: 0 / 291 MB, free: 7.016 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.009173, allocations: 0 / 291 MB, free: 7.016 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.009187, allocations: 0 / 291 MB, free: 7.016 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000765/0.009952, allocations: 0.5471 MB / 291.6 MB, free: 6.598 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.009987, allocations: 10.56 kB / 291.6 MB, free: 6.598 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.616e-05/0.01006, allocations: 38.62 kB / 291.6 MB, free: 6.582 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.01042, allocations: 266 kB / 291.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.01044, allocations: 17.19 kB / 291.9 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.01048, allocations: 26.84 kB / 291.9 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.01072, allocations: 210.6 kB / 292.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.01073, allocations: 3.938 kB / 292.1 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.01075, allocations: 11.5 kB / 292.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.01076, allocations: 5.219 kB / 292.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.01087, allocations: 67.8 kB / 292.2 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009432/0.01181, allocations: 1.021 MB / 293.2 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.01202, allocations: 83.23 kB / 293.3 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/0.01206, allocations: 37.48 kB / 293.3 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.01208, allocations: 1.656 kB / 293.3 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.0121, allocations: 36.03 kB / 293.4 MB, free: 5.062 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.01211, allocations: 0 / 293.4 MB, free: 5.062 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002627/0.01237, allocations: 119.3 kB / 293.5 MB, free: 4.996 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.01241, allocations: 78.42 kB / 293.6 MB, free: 4.902 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.01257, allocations: 237.7 kB / 293.8 MB, free: 4.727 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.01258, allocations: 30.92 kB / 293.8 MB, free: 4.691 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.808e-05/0.01268, allocations: 181.7 kB / 294 MB, free: 4.523 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.01271, allocations: 36.94 kB / 294 MB, free: 4.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.01276, allocations: 51.72 kB / 294.1 MB, free: 4.449 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.01286, allocations: 336.3 kB / 294.4 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.662e-05/0.01289, allocations: 15.92 kB / 294.4 MB, free: 4.113 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.405e-05/0.01296, allocations: 101 kB / 294.5 MB, free: 3.996 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.0131, allocations: 157.7 kB / 294.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.01311, allocations: 1 kB / 294.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001569/0.01326, allocations: 154.9 kB / 294.8 MB, free: 3.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.01328, allocations: 5.531 kB / 294.9 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.01329, allocations: 3.219 kB / 294.9 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.0133, allocations: 4.719 kB / 294.9 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.01347, allocations: 51.66 kB / 294.9 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.01348, allocations: 5.312 kB / 294.9 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.524e-05/0.01356, allocations: 22.25 kB / 294.9 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.01357, allocations: 7.094 kB / 294.9 MB, free: 3.723 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 (23): * Single equations (assignments): 23 * 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 9.504e-05/0.01366, allocations: 140.5 kB / 295.1 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.01369, allocations: 14.64 kB / 295.1 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.01383, allocations: 93.2 kB / 295.2 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01383, allocations: 1.312 kB / 295.2 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01383, allocations: 1.094 kB / 295.2 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01384, allocations: 0 / 295.2 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.01399, allocations: 139.8 kB / 295.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01399, allocations: 0 / 295.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.631e-05/0.01409, allocations: 29.08 kB / 295.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.73e-05/0.01412, allocations: 25.78 kB / 295.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.01412, allocations: 2.312 kB / 295.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.01413, allocations: 4 kB / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.01413, allocations: 2 kB / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01413, allocations: 0 / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.01432, allocations: 207.9 kB / 295.6 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.01434, allocations: 0 / 295.6 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.616e-05/0.01438, allocations: 5.438 kB / 295.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.01441, allocations: 12.89 kB / 295.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.01441, allocations: 0 / 295.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.922e-05/0.01447, allocations: 82.77 kB / 295.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01447, allocations: 0 / 295.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001973/0.01467, allocations: 59.88 kB / 295.7 MB, free: 3.027 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 (12): * Single equations (assignments): 11 * 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 0.0001058/0.01477, allocations: 76.42 kB / 295.8 MB, free: 2.945 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.01491, allocations: 86.09 kB / 295.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.01491, allocations: 4 kB / 295.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/0.01496, allocations: 38.06 kB / 295.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.01538, allocations: 498.7 kB / 296.4 MB, free: 2.242 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.01891, allocations: 0.5256 MB / 297 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.598e-05/0.01898, allocations: 96.3 kB / 297.1 MB, free: 1.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.729e-05/0.01906, allocations: 30.28 kB / 297.1 MB, free: 1.539 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.01917, allocations: 95.33 kB / 297.2 MB, free: 1.445 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01917, allocations: 4 kB / 297.2 MB, free: 1.441 MB / 282.7 MB Notification: Performance of Templates: time 0.004658/0.02383, allocations: 2.249 MB / 299.4 MB, free: 15.26 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.8745475355535746]