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.0008339/0.0008339, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003028/0.003028, allocations: 160.2 kB / 24.7 MB, free: 9.43 MB / 18.57 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.8387/0.8387, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2277/0.2277, allocations: 29.41 MB / 290.9 MB, free: 2.426 MB / 266.7 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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|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=740,variableFilter="Time|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.583e-06/1.583e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.018e-05, allocations: 2.281 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.00361/0.00363, allocations: 3.992 MB / 435.5 MB, free: 9.062 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000933/0.004563, allocations: 0.8882 MB / 436.4 MB, free: 8.172 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.004702, allocations: 15.81 kB / 436.4 MB, free: 8.156 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.004859, allocations: 51.5 kB / 436.4 MB, free: 8.105 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.005233, allocations: 186.8 kB / 436.6 MB, free: 7.922 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.005371, allocations: 95.73 kB / 436.7 MB, free: 7.828 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005814/0.005952, allocations: 410.3 kB / 437.1 MB, free: 7.426 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.00614, allocations: 82.67 kB / 437.2 MB, free: 7.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002921/0.006432, allocations: 239.3 kB / 437.4 MB, free: 7.105 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.006656, allocations: 167.5 kB / 437.6 MB, free: 6.941 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.006688, allocations: 20 kB / 437.6 MB, free: 6.922 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.851e-05/0.006716, allocations: 20 kB / 437.6 MB, free: 6.902 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.47e-05/0.006801, allocations: 95.66 kB / 437.7 MB, free: 6.809 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.573e-05/0.006877, allocations: 91.77 kB / 437.8 MB, free: 6.719 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.007125, allocations: 287 kB / 438.1 MB, free: 6.438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.007127, allocations: 4 kB / 438.1 MB, free: 6.434 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.007128, allocations: 0 / 438.1 MB, free: 6.434 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.007133, allocations: 0 / 438.1 MB, free: 6.434 MB / 410.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.0006142/0.007747, allocations: 0.5256 MB / 438.6 MB, free: 5.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.007781, allocations: 15.98 kB / 438.6 MB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.007831, allocations: 40.69 kB / 438.7 MB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.008148, allocations: 279.6 kB / 438.9 MB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.008164, allocations: 20.88 kB / 439 MB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.008195, allocations: 20.38 kB / 439 MB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.008467, allocations: 295.7 kB / 439.3 MB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.008478, allocations: 4 kB / 439.3 MB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.008496, allocations: 4 kB / 439.3 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.008503, allocations: 8 kB / 439.3 MB, free: 5.148 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.008698, allocations: 180.9 kB / 439.5 MB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008136/0.009512, allocations: 1.105 MB / 440.6 MB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.009733, allocations: 113.2 kB / 440.7 MB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/0.009782, allocations: 45.69 kB / 440.7 MB, free: 3.617 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.009799, allocations: 8 kB / 440.7 MB, free: 3.609 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.009819, allocations: 34.56 kB / 440.8 MB, free: 3.566 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.00982, allocations: 0 / 440.8 MB, free: 3.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005618/0.01038, allocations: 416.6 kB / 441.2 MB, free: 3.125 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.01042, allocations: 89.17 kB / 441.3 MB, free: 3.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.01058, allocations: 253.8 kB / 441.5 MB, free: 2.766 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.01059, allocations: 25.7 kB / 441.5 MB, free: 2.734 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.865e-05/0.01068, allocations: 200.1 kB / 441.7 MB, free: 2.535 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.0107, allocations: 35.7 kB / 441.8 MB, free: 2.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.01075, allocations: 45.66 kB / 441.8 MB, free: 2.449 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.01083, allocations: 334.8 kB / 442.1 MB, free: 2.113 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.362e-05/0.01087, allocations: 35.84 kB / 442.2 MB, free: 2.078 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.678e-05/0.01096, allocations: 135.8 kB / 442.3 MB, free: 1.902 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.0111, allocations: 196.5 kB / 442.5 MB, free: 1.664 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.01111, allocations: 4 kB / 442.5 MB, free: 1.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001894/0.01129, allocations: 205.2 kB / 442.7 MB, free: 1.453 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.01131, allocations: 8 kB / 442.7 MB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01131, allocations: 4.438 kB / 442.7 MB, free: 1.441 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.01133, allocations: 8 kB / 442.7 MB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.282e-05/0.01142, allocations: 39.92 kB / 442.7 MB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.01143, allocations: 15.92 kB / 442.8 MB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.01149, allocations: 11.94 kB / 442.8 MB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.0115, allocations: 8 kB / 442.8 MB, free: 1.359 MB / 410.7 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 (24): * Single equations (assignments): 24 * 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.497e-05/0.0116, allocations: 154 kB / 442.9 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.01162, allocations: 19.86 kB / 443 MB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.01178, allocations: 135.4 kB / 443.1 MB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.01179, allocations: 3.938 kB / 443.1 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.01179, allocations: 4 kB / 443.1 MB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01179, allocations: 7.984 kB / 443.1 MB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.01211, allocations: 402.8 kB / 443.5 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01211, allocations: 0 / 443.5 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.774e-05/0.01218, allocations: 23.98 kB / 443.5 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01218, allocations: 0 / 443.5 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.01219, allocations: 8 kB / 443.5 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01219, allocations: 3.938 kB / 443.5 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01219, allocations: 0 / 443.5 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.01242, allocations: 279.9 kB / 443.8 MB, free: 268 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.01243, allocations: 15.89 kB / 443.8 MB, free: 252 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.01245, allocations: 12.09 kB / 443.8 MB, free: 240 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.875e-05/0.0125, allocations: 0 / 443.8 MB, free: 240 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.01252, allocations: 7.984 kB / 443.8 MB, free: 232 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.01253, allocations: 8 kB / 443.8 MB, free: 224 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003559/0.01288, allocations: 177.1 kB / 444 MB, free: 44 kB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01288, allocations: 3.938 kB / 444 MB, free: 40 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.1594/0.1723, allocations: 42.98 kB / 444.1 MB, free: 54.5 MB / 410.7 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 (13): * Single equations (assignments): 12 * 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.0001067/0.1724, allocations: 98.23 kB / 444.2 MB, free: 54.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1726, allocations: 110.6 kB / 444.3 MB, free: 54.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1726, allocations: 3.281 kB / 444.3 MB, free: 54.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/0.1726, allocations: 39 kB / 444.3 MB, free: 54.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.173, allocations: 59.56 kB / 444.4 MB, free: 54.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/0.1736, allocations: 0.532 MB / 444.9 MB, free: 54.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.181e-05/0.1736, allocations: 166.4 kB / 445.1 MB, free: 54.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.1737, allocations: 21 kB / 445.1 MB, free: 54.05 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1737, allocations: 1.125 kB / 445.1 MB, free: 54.05 MB / 410.7 MB Notification: Performance of Templates: time 0.002651/0.1763, allocations: 3.116 MB / 448.2 MB, free: 53.87 MB / 410.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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.7633594842627645]