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.00114/0.00114, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001791/0.002931, 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.001078/0.001078, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001446/0.002524, 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 0.9553/0.9553, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09552/1.051, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.1307/0.1307, allocations: 29.44 MB / 273.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1256/0.2563, allocations: 9.531 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.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.463e-06/1.463e-06, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.562e-05, allocations: 3.625 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005946/0.005962, allocations: 4.315 MB / 288.6 MB, free: 8.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002839/0.008801, allocations: 1.392 MB / 289.9 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.008998, allocations: 21.19 kB / 290 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006275/0.009626, allocations: 363.9 kB / 290.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004004/0.01003, allocations: 245.3 kB / 290.6 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.01058, allocations: 265.4 kB / 290.8 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005896/0.01117, allocations: 0.6027 MB / 291.4 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003398/0.01151, allocations: 245 kB / 291.7 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005628/0.01208, allocations: 416.4 kB / 292.1 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.01245, allocations: 274.2 kB / 292.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.263e-05/0.01251, allocations: 33.31 kB / 292.4 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003319/0.01284, allocations: 162.5 kB / 292.5 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.01302, allocations: 226.6 kB / 292.8 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.01317, allocations: 142.2 kB / 292.9 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.01365, allocations: 433.3 kB / 293.3 MB, free: 5.547 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.344e-05/0.01367, allocations: 0 / 293.3 MB, free: 5.547 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01367, allocations: 2.688 kB / 293.3 MB, free: 5.547 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.01369, allocations: 0 / 293.3 MB, free: 5.547 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.0008782/0.01457, allocations: 0.7619 MB / 294.1 MB, free: 4.938 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.0146, allocations: 8.031 kB / 294.1 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004899/0.01509, allocations: 217.9 kB / 294.3 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.01543, allocations: 332.2 kB / 294.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.01546, allocations: 33.38 kB / 294.7 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.01557, allocations: 48.73 kB / 294.7 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.016, allocations: 451.4 kB / 295.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.01601, allocations: 11.86 kB / 295.2 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.01604, allocations: 20 kB / 295.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.939e-05/0.01611, allocations: 28.98 kB / 295.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.01633, allocations: 178.6 kB / 295.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.01836, allocations: 2.474 MB / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.0185, allocations: 101 kB / 298 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.01855, allocations: 41.77 kB / 298 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.01857, allocations: 8 kB / 298 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.01859, allocations: 34.56 kB / 298 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 2.154e-06/0.01859, allocations: 0 / 298 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006155/0.01921, allocations: 419.2 kB / 298.4 MB, free: 280 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.01925, allocations: 81.11 kB / 298.5 MB, free: 180 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.01942, allocations: 315.1 kB / 298.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.01944, allocations: 25.7 kB / 298.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.01955, allocations: 288.3 kB / 299.1 MB, free: 15.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.0196, allocations: 91.23 kB / 299.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.388e-05/0.01967, allocations: 78.11 kB / 299.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.031e-05/0.01975, allocations: 350.7 kB / 299.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.53e-05/0.0198, allocations: 33.11 kB / 299.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.01993, allocations: 243.5 kB / 299.9 MB, free: 14.65 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.02016, allocations: 331.3 kB / 300.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.02017, allocations: 4 kB / 300.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004105/0.02058, allocations: 331.8 kB / 300.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.0206, allocations: 15.97 kB / 300.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/0.02076, allocations: 119.4 kB / 300.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/0.02098, allocations: 70.45 kB / 300.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.02122, allocations: 107.8 kB / 300.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007714/0.02199, allocations: 1.308 MB / 302.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.02211, allocations: 19.95 kB / 302.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.02213, allocations: 20 kB / 302.2 MB, free: 12.14 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.000101/0.02223, allocations: 136.5 kB / 302.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.02227, allocations: 27.97 kB / 302.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.02245, allocations: 152.9 kB / 302.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.02245, allocations: 11.92 kB / 302.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.02245, allocations: 0 / 302.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.02246, allocations: 3.938 kB / 302.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.0229, allocations: 432.2 kB / 303 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.0229, allocations: 0 / 303 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.02309, allocations: 73.22 kB / 303 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.02312, allocations: 27.77 kB / 303.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.02312, allocations: 7.984 kB / 303.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.02314, allocations: 4 kB / 303.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.02314, allocations: 7.938 kB / 303.1 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.02314, allocations: 0 / 303.1 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.02336, allocations: 288.2 kB / 303.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.02338, allocations: 11.98 kB / 303.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.02345, allocations: 3.938 kB / 303.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.02348, allocations: 19.97 kB / 303.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.02349, allocations: 8 kB / 303.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.315e-05/0.02356, allocations: 108.7 kB / 303.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02356, allocations: 0 / 303.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.02383, allocations: 100 kB / 303.6 MB, free: 10.67 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 8.708e-05/0.02392, allocations: 84.36 kB / 303.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003251/0.02425, allocations: 313.1 kB / 304 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.651e-05/0.02426, allocations: 12 kB / 304 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.283e-05/0.02433, allocations: 60.66 kB / 304.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.0246, allocations: 104.2 kB / 304.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006292/0.03089, allocations: 0.8441 MB / 305 MB, free: 9.195 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.567e-05/0.03099, allocations: 145.2 kB / 305.2 MB, free: 9.035 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.03113, allocations: 51.25 kB / 305.2 MB, free: 8.984 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.03126, allocations: 111.3 kB / 305.3 MB, free: 8.875 MB / 298.7 MB Notification: Performance of SimCode: time 1.343e-06/0.03126, allocations: 0 / 305.3 MB, free: 8.875 MB / 298.7 MB Notification: Performance of Templates: time 0.006291/0.03755, allocations: 4.067 MB / 309.4 MB, free: 4.883 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9048148822039366]