Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.001132/0.001132, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001717/0.002848, 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.001585/0.001585, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00187/0.003455, 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.9928/0.9928, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08707/1.08, allocations: 53.66 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.1217/0.1217, allocations: 29.45 MB / 273.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1649/0.2866, allocations: 9.539 MB / 283.1 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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02e-05/1.181e-05, allocations: 3.297 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.004205/0.004217, allocations: 4.34 MB / 288.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.006059, allocations: 1.396 MB / 290.2 MB, free: 7.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.006195, allocations: 16.84 kB / 290.2 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.006684, allocations: 368 kB / 290.6 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.006989, allocations: 245.3 kB / 290.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.007382, allocations: 261.2 kB / 291.1 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004208/0.007803, allocations: 0.5863 MB / 291.6 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002839/0.008087, allocations: 265.8 kB / 291.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004091/0.008496, allocations: 415.8 kB / 292.3 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.008785, allocations: 271 kB / 292.6 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.899e-05/0.008834, allocations: 34.16 kB / 292.6 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.009079, allocations: 157.7 kB / 292.8 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.009259, allocations: 227.1 kB / 293 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.009411, allocations: 141.8 kB / 293.1 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.009879, allocations: 437.5 kB / 293.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.009887, allocations: 0 / 293.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.009888, allocations: 1.125 kB / 293.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.009898, allocations: 0 / 293.5 MB, free: 5.457 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0007786/0.01068, allocations: 0.765 MB / 294.3 MB, free: 4.816 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.597e-05/0.0107, allocations: 8.031 kB / 294.3 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004763/0.01118, allocations: 221.8 kB / 294.5 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.0115, allocations: 320.2 kB / 294.8 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.01152, allocations: 41.36 kB / 294.9 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.922e-05/0.01161, allocations: 48.75 kB / 294.9 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.01201, allocations: 459.4 kB / 295.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.01202, allocations: 3.938 kB / 295.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.01205, allocations: 16 kB / 295.4 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.457e-05/0.01212, allocations: 32.98 kB / 295.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.01233, allocations: 178.6 kB / 295.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.01398, allocations: 2.489 MB / 298.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.0141, allocations: 105.1 kB / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.537e-05/0.01415, allocations: 41.77 kB / 298.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.01416, allocations: 4 kB / 298.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.01419, allocations: 38.55 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.01419, allocations: 0 / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005607/0.01475, allocations: 418.6 kB / 298.7 MB, free: 132 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.01479, allocations: 77.11 kB / 298.8 MB, free: 36 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.01498, allocations: 323.1 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.015, allocations: 29.7 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.0151, allocations: 280.3 kB / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.01515, allocations: 87.23 kB / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/0.01522, allocations: 86.11 kB / 299.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.01532, allocations: 346.7 kB / 299.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.465e-05/0.01537, allocations: 36.97 kB / 299.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.0155, allocations: 239.5 kB / 300.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.01575, allocations: 359.2 kB / 300.5 MB, free: 14.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.01575, allocations: 0 / 300.5 MB, free: 14.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003312/0.01609, allocations: 313.3 kB / 300.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.0161, allocations: 9.562 kB / 300.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.0161, allocations: 8 kB / 300.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/0.01631, allocations: 82.47 kB / 300.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.01657, allocations: 107.8 kB / 301 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007813/0.01735, allocations: 1.3 MB / 302.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.01746, allocations: 20 kB / 302.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.01748, allocations: 20 kB / 302.4 MB, free: 12.1 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.01758, allocations: 144.4 kB / 302.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.01761, allocations: 23.97 kB / 302.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.0178, allocations: 159.5 kB / 302.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.0178, allocations: 8.031 kB / 302.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.0178, allocations: 3.938 kB / 302.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.01781, allocations: 7.922 kB / 302.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.01825, allocations: 436.1 kB / 303.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01825, allocations: 0 / 303.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.01842, allocations: 60.94 kB / 303.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.777e-05/0.01845, allocations: 31.77 kB / 303.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01845, allocations: 4.062 kB / 303.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.01847, allocations: 11.98 kB / 303.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01847, allocations: 7.938 kB / 303.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01847, allocations: 0 / 303.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.0187, allocations: 289.1 kB / 303.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.01873, allocations: 8 kB / 303.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.0188, allocations: 4 kB / 303.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.01882, allocations: 23.84 kB / 303.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.01883, allocations: 7.984 kB / 303.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.294e-05/0.0189, allocations: 112.7 kB / 303.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0189, allocations: 4 kB / 303.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002393/0.01914, allocations: 96 kB / 303.8 MB, free: 10.61 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * 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 7.223e-05/0.01922, allocations: 80.42 kB / 303.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.01952, allocations: 316.8 kB / 304.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/0.01954, allocations: 19.97 kB / 304.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.841e-05/0.01963, allocations: 74.77 kB / 304.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.02003, allocations: 0.5462 MB / 304.8 MB, free: 9.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006126/0.02616, allocations: 0.8407 MB / 305.6 MB, free: 8.582 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.893e-05/0.02625, allocations: 149.2 kB / 305.8 MB, free: 8.418 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.02635, allocations: 47.25 kB / 305.8 MB, free: 8.371 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.02648, allocations: 107.3 kB / 305.9 MB, free: 8.266 MB / 298.7 MB Notification: Performance of SimCode: time 6.72e-07/0.02648, allocations: 0 / 305.9 MB, free: 8.266 MB / 298.7 MB Notification: Performance of Templates: time 0.005498/0.03197, allocations: 3.807 MB / 309.7 MB, free: 4.527 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.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.8224791418761015]