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.0009656/0.0009656, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001043/0.001043, allocations: 170.9 kB / 24.91 MB, free: 8.777 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 1.121/1.121, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.3192/0.3192, allocations: 29.43 MB / 291.2 MB, free: 2.488 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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=741,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=741,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.463e-06/1.463e-06, allocations: 0 / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.613e-05, allocations: 6.312 kB / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.0042/0.004226, allocations: 3.915 MB / 320.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.006104, allocations: 0.9238 MB / 321.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.006297, allocations: 15.81 kB / 321.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.006482, allocations: 43.56 kB / 321.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005085/0.006991, allocations: 194.8 kB / 321.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.007214, allocations: 87.8 kB / 322 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004121/0.007626, allocations: 418.4 kB / 322.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.007805, allocations: 84.64 kB / 322.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.008257, allocations: 283.2 kB / 322.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.008473, allocations: 135.6 kB / 322.9 MB, free: 9.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.008505, allocations: 20 kB / 322.9 MB, free: 9.891 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.947e-05/0.008534, allocations: 20 kB / 323 MB, free: 9.871 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.42e-05/0.008618, allocations: 91.72 kB / 323 MB, free: 9.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.22e-05/0.008701, allocations: 95.77 kB / 323.1 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.008961, allocations: 211.1 kB / 323.3 MB, free: 9.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.008964, allocations: 0 / 323.3 MB, free: 9.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.008966, allocations: 0 / 323.3 MB, free: 9.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.008971, allocations: 0 / 323.3 MB, free: 9.48 MB / 298.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.0005821/0.009553, allocations: 0.4886 MB / 323.8 MB, free: 8.961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.009589, allocations: 15.98 kB / 323.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.763e-05/0.009646, allocations: 36.91 kB / 323.9 MB, free: 8.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.009954, allocations: 280.5 kB / 324.2 MB, free: 8.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.00997, allocations: 20.88 kB / 324.2 MB, free: 8.594 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.01, allocations: 16.38 kB / 324.2 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.01022, allocations: 227.7 kB / 324.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.01022, allocations: 0 / 324.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.01024, allocations: 8 kB / 324.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.01025, allocations: 4 kB / 324.4 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.465e-05/0.01033, allocations: 68.97 kB / 324.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008708/0.0112, allocations: 1.016 MB / 325.5 MB, free: 7.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.01141, allocations: 79.89 kB / 325.6 MB, free: 7.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.085e-05/0.01144, allocations: 25.7 kB / 325.6 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.01145, allocations: 4 kB / 325.6 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.01148, allocations: 38.56 kB / 325.7 MB, free: 6.988 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.334e-06/0.01149, allocations: 0 / 325.7 MB, free: 6.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002442/0.01173, allocations: 113.5 kB / 325.8 MB, free: 6.871 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.01177, allocations: 81.11 kB / 325.9 MB, free: 6.773 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.01191, allocations: 240.9 kB / 326.1 MB, free: 6.527 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.01193, allocations: 29.7 kB / 326.1 MB, free: 6.492 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/0.012, allocations: 184.5 kB / 326.3 MB, free: 6.309 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.01203, allocations: 35.69 kB / 326.3 MB, free: 6.273 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.01207, allocations: 41.69 kB / 326.4 MB, free: 6.227 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.01217, allocations: 338.8 kB / 326.7 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.01219, allocations: 12 kB / 326.7 MB, free: 5.875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.106e-05/0.01226, allocations: 110.2 kB / 326.8 MB, free: 5.727 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.01238, allocations: 150.7 kB / 327 MB, free: 5.535 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01238, allocations: 0 / 327 MB, free: 5.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001419/0.01252, allocations: 145.2 kB / 327.1 MB, free: 5.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.01254, allocations: 7.938 kB / 327.1 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.01254, allocations: 4.406 kB / 327.1 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.01256, allocations: 8 kB / 327.1 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.01266, allocations: 43.91 kB / 327.2 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.01266, allocations: 4 kB / 327.2 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.606e-05/0.01273, allocations: 27.78 kB / 327.2 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.01274, allocations: 8 kB / 327.2 MB, free: 5.285 MB / 298.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 8.81e-05/0.01283, allocations: 120.7 kB / 327.3 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.01286, allocations: 27.84 kB / 327.4 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.01299, allocations: 84.64 kB / 327.4 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01299, allocations: 0 / 327.4 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01299, allocations: 0 / 327.4 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.013, allocations: 11.98 kB / 327.5 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.01315, allocations: 128.6 kB / 327.6 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01315, allocations: 3.984 kB / 327.6 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.01322, allocations: 16 kB / 327.6 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.01323, allocations: 7.938 kB / 327.6 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.01324, allocations: 0 / 327.6 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01324, allocations: 0 / 327.6 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.01324, allocations: 11.92 kB / 327.6 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004481/0.01369, allocations: 203.1 kB / 327.8 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.01372, allocations: 27.8 kB / 327.8 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.01373, allocations: 7.969 kB / 327.8 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.844e-05/0.01378, allocations: 4 kB / 327.9 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.0138, allocations: 7.984 kB / 327.9 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.0138, allocations: 4 kB / 327.9 MB, free: 4.574 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.263e-05/0.01386, allocations: 74.78 kB / 327.9 MB, free: 4.496 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01386, allocations: 0 / 327.9 MB, free: 4.496 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000188/0.01404, allocations: 55.89 kB / 328 MB, free: 4.441 MB / 298.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 8.772e-05/0.01413, allocations: 88.28 kB / 328.1 MB, free: 4.348 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.01425, allocations: 85.73 kB / 328.2 MB, free: 4.262 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.892e-06/0.01425, allocations: 0 / 328.2 MB, free: 4.262 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.01429, allocations: 36.78 kB / 328.2 MB, free: 4.223 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.01455, allocations: 53.41 kB / 328.3 MB, free: 4.176 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009041/0.01545, allocations: 0.5175 MB / 328.8 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.394e-05/0.01551, allocations: 96.3 kB / 328.9 MB, free: 3.516 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.468e-05/0.01559, allocations: 34.28 kB / 328.9 MB, free: 3.484 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.589e-05/0.01569, allocations: 87.34 kB / 329 MB, free: 3.398 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01569, allocations: 0 / 329 MB, free: 3.398 MB / 298.7 MB Notification: Performance of Templates: time 0.005205/0.02089, allocations: 2.223 MB / 331.2 MB, free: 1.242 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.250996016897261]