Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.0009289/0.0009289, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00125/0.00125, allocations: 174.1 kB / 24.92 MB, free: 9.188 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2379/0.2379, allocations: 29.42 MB / 291.2 MB, free: 2.465 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.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.614e-06/1.614e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.772e-05, allocations: 4 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005521/0.005549, allocations: 3.83 MB / 320.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.007167, allocations: 0.8927 MB / 321.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.007357, allocations: 19.81 kB / 321.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.007542, allocations: 39.64 kB / 321.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005293/0.008071, allocations: 167 kB / 321.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.008291, allocations: 87.75 kB / 321.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004246/0.008715, allocations: 386.5 kB / 322.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.008878, allocations: 62.7 kB / 322.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005073/0.009385, allocations: 271.2 kB / 322.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.009633, allocations: 123.7 kB / 322.7 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.009668, allocations: 16 kB / 322.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.567e-05/0.009704, allocations: 16 kB / 322.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.009809, allocations: 83.73 kB / 322.9 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.009922, allocations: 83.77 kB / 322.9 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.01021, allocations: 175.3 kB / 323.1 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.01021, allocations: 4 kB / 323.1 MB, free: 9.691 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01022, allocations: 0 / 323.1 MB, free: 9.691 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.01022, allocations: 0 / 323.1 MB, free: 9.691 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006475/0.01087, allocations: 472.5 kB / 323.6 MB, free: 9.207 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.01091, allocations: 11.98 kB / 323.6 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.503e-05/0.01097, allocations: 32.91 kB / 323.6 MB, free: 9.164 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.01135, allocations: 253.2 kB / 323.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.01137, allocations: 16.88 kB / 323.9 MB, free: 8.871 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.01141, allocations: 16.38 kB / 323.9 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.01167, allocations: 206.8 kB / 324.1 MB, free: 8.629 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.01169, allocations: 0 / 324.1 MB, free: 8.629 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.0117, allocations: 8 kB / 324.1 MB, free: 8.621 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.01172, allocations: 8 kB / 324.1 MB, free: 8.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.01183, allocations: 63.62 kB / 324.2 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000773/0.0126, allocations: 0.9825 MB / 325.2 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.371e-05/0.0127, allocations: 69 kB / 325.2 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.385e-05/0.01272, allocations: 17.78 kB / 325.2 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.01273, allocations: 0 / 325.2 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.01276, allocations: 46.56 kB / 325.3 MB, free: 7.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.01276, allocations: 0 / 325.3 MB, free: 7.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002114/0.01297, allocations: 89.55 kB / 325.4 MB, free: 7.246 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.01301, allocations: 77.11 kB / 325.5 MB, free: 7.152 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.01314, allocations: 232.9 kB / 325.7 MB, free: 6.906 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.01315, allocations: 25.7 kB / 325.7 MB, free: 6.875 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.998e-05/0.01323, allocations: 183.8 kB / 325.9 MB, free: 6.691 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.01325, allocations: 23.8 kB / 325.9 MB, free: 6.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.01329, allocations: 41.64 kB / 325.9 MB, free: 6.621 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.01338, allocations: 346.8 kB / 326.3 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.0134, allocations: 11.94 kB / 326.3 MB, free: 6.262 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.204e-05/0.01346, allocations: 106.9 kB / 326.4 MB, free: 6.117 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.919e-05/0.01356, allocations: 139.8 kB / 326.5 MB, free: 5.938 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01356, allocations: 0 / 326.5 MB, free: 5.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001331/0.0137, allocations: 129.7 kB / 326.7 MB, free: 5.805 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.01371, allocations: 12 kB / 326.7 MB, free: 5.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01372, allocations: 4 kB / 326.7 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.01373, allocations: 7.984 kB / 326.7 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.01388, allocations: 44.61 kB / 326.7 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.01389, allocations: 4 kB / 326.7 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.227e-05/0.01395, allocations: 24.08 kB / 326.8 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.01396, allocations: 8 kB / 326.8 MB, free: 5.703 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 (21): * Single equations (assignments): 21 * 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 7.209e-05/0.01403, allocations: 124.6 kB / 326.9 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.01406, allocations: 11.98 kB / 326.9 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.582e-05/0.01415, allocations: 83.38 kB / 327 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01415, allocations: 0 / 327 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01416, allocations: 3.984 kB / 327 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01416, allocations: 4 kB / 327 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.01429, allocations: 117.7 kB / 327.1 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.01429, allocations: 0 / 327.1 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.377e-05/0.01436, allocations: 19.98 kB / 327.1 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01436, allocations: 0 / 327.1 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.01437, allocations: 4 kB / 327.1 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.01437, allocations: 4 kB / 327.1 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01438, allocations: 4 kB / 327.1 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.0145, allocations: 180.2 kB / 327.3 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.01452, allocations: 19.89 kB / 327.3 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.01453, allocations: 0 / 327.3 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.376e-05/0.01458, allocations: 4 kB / 327.3 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.01459, allocations: 0 / 327.3 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.01459, allocations: 4 kB / 327.3 MB, free: 5.074 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.06e-05/0.01465, allocations: 78.75 kB / 327.4 MB, free: 5 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01465, allocations: 0 / 327.4 MB, free: 5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001812/0.01483, allocations: 47.89 kB / 327.5 MB, free: 4.953 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 (8): * Single equations (assignments): 7 * 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 9.014e-05/0.01492, allocations: 80.39 kB / 327.5 MB, free: 4.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.692e-05/0.01501, allocations: 72.58 kB / 327.6 MB, free: 4.793 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.01502, allocations: 4 kB / 327.6 MB, free: 4.789 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.731e-05/0.01505, allocations: 24.84 kB / 327.6 MB, free: 4.762 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.0153, allocations: 58.2 kB / 327.7 MB, free: 4.707 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/0.01613, allocations: 484.8 kB / 328.2 MB, free: 4.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.063e-05/0.01618, allocations: 92.3 kB / 328.3 MB, free: 4.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.54e-05/0.01625, allocations: 17.95 kB / 328.3 MB, free: 4.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.01634, allocations: 91.34 kB / 328.4 MB, free: 3.98 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01634, allocations: 0 / 328.4 MB, free: 3.98 MB / 298.7 MB Notification: Performance of Templates: time 0.00383/0.02017, allocations: 1.975 MB / 330.3 MB, free: 2.062 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.8475754079408944]