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.001096/0.001096, allocations: 80.92 kB / 21.49 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.007354/0.007354, allocations: 170.6 kB / 24.91 MB, free: 8.723 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.073/1.073, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.2738/0.2738, allocations: 29.42 MB / 291.2 MB, free: 2.367 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 2.906e-06/2.906e-06, allocations: 0 / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.783e-05/4.074e-05, allocations: 3.016 kB / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004541/0.004582, allocations: 3.769 MB / 320.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.005878, allocations: 0.8927 MB / 321.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.006047, allocations: 19.81 kB / 321.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.006223, allocations: 39.64 kB / 321.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004398/0.006662, allocations: 170.9 kB / 321.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.007142, allocations: 87.75 kB / 321.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000321/0.007463, allocations: 382.5 kB / 322.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.007622, allocations: 62.69 kB / 322.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004129/0.008034, allocations: 279.2 kB / 322.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.008204, allocations: 119.6 kB / 322.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.008233, allocations: 16 kB / 322.7 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.654e-05/0.008259, allocations: 16 kB / 322.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.429e-05/0.008343, allocations: 87.72 kB / 322.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.98e-05/0.008423, allocations: 83.78 kB / 322.9 MB, free: 9.969 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.008649, allocations: 175.3 kB / 323 MB, free: 9.797 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.008653, allocations: 8 kB / 323 MB, free: 9.789 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.008655, allocations: 0 / 323 MB, free: 9.789 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.00866, allocations: 7.875 kB / 323 MB, free: 9.781 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.0005188/0.009178, allocations: 456.6 kB / 323.5 MB, free: 9.312 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.009214, allocations: 15.98 kB / 323.5 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.009267, allocations: 36.91 kB / 323.5 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.009552, allocations: 245.2 kB / 323.8 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.009568, allocations: 16.81 kB / 323.8 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.0096, allocations: 20.38 kB / 323.8 MB, free: 8.957 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.009788, allocations: 202.8 kB / 324 MB, free: 8.734 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.009797, allocations: 4 kB / 324 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.009816, allocations: 8 kB / 324 MB, free: 8.723 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.009823, allocations: 4 kB / 324 MB, free: 8.719 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.658e-05/0.009899, allocations: 67.61 kB / 324.1 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008212/0.01072, allocations: 0.9904 MB / 325.1 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.01084, allocations: 57.02 kB / 325.1 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.01087, allocations: 29.77 kB / 325.2 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.01089, allocations: 4 kB / 325.2 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.01092, allocations: 34.55 kB / 325.2 MB, free: 7.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 3.217e-06/0.01092, allocations: 0 / 325.2 MB, free: 7.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002385/0.01116, allocations: 97.55 kB / 325.3 MB, free: 7.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.01121, allocations: 81.11 kB / 325.4 MB, free: 7.242 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.01135, allocations: 233 kB / 325.6 MB, free: 6.996 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.01136, allocations: 25.7 kB / 325.6 MB, free: 6.965 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.01144, allocations: 179.8 kB / 325.8 MB, free: 6.785 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.01145, allocations: 27.77 kB / 325.8 MB, free: 6.758 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.0115, allocations: 49.64 kB / 325.9 MB, free: 6.703 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.0116, allocations: 326.8 kB / 326.2 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.01162, allocations: 19.92 kB / 326.2 MB, free: 6.355 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/0.01168, allocations: 96 kB / 326.3 MB, free: 6.219 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.01179, allocations: 139.8 kB / 326.5 MB, free: 6.039 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01179, allocations: 0 / 326.5 MB, free: 6.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001261/0.01192, allocations: 141.2 kB / 326.6 MB, free: 5.895 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.01193, allocations: 4 kB / 326.6 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.01194, allocations: 4 kB / 326.6 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.01196, allocations: 4 kB / 326.6 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.01206, allocations: 39.92 kB / 326.6 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.01207, allocations: 12.41 kB / 326.7 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.215e-05/0.01212, allocations: 23.89 kB / 326.7 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.01213, allocations: 7.938 kB / 326.7 MB, free: 5.801 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.694e-05/0.0122, allocations: 116.7 kB / 326.8 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.01222, allocations: 15.98 kB / 326.8 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.01233, allocations: 75.38 kB / 326.9 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01233, allocations: 0 / 326.9 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.01234, allocations: 0 / 326.9 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01234, allocations: 0 / 326.9 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.01246, allocations: 125.7 kB / 327 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01247, allocations: 0 / 327 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/0.01253, allocations: 19.98 kB / 327 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01253, allocations: 0 / 327 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.01254, allocations: 4 kB / 327 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.01254, allocations: 0 / 327 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01254, allocations: 0 / 327 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.0127, allocations: 188.2 kB / 327.2 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.01272, allocations: 11.91 kB / 327.2 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.01274, allocations: 0 / 327.2 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.707e-05/0.01278, allocations: 8.234 kB / 327.2 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.0128, allocations: 4 kB / 327.2 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.01281, allocations: 12.03 kB / 327.3 MB, free: 5.176 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.415e-05/0.01286, allocations: 70.78 kB / 327.3 MB, free: 5.109 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01286, allocations: 0 / 327.3 MB, free: 5.109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.01303, allocations: 47.89 kB / 327.4 MB, free: 5.062 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 0.0001104/0.01314, allocations: 84.34 kB / 327.4 MB, free: 4.973 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.01324, allocations: 61.39 kB / 327.5 MB, free: 4.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.01325, allocations: 4 kB / 327.5 MB, free: 4.906 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.899e-05/0.01328, allocations: 28.91 kB / 327.5 MB, free: 4.875 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.01357, allocations: 57.14 kB / 327.6 MB, free: 4.824 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009221/0.01449, allocations: 480.9 kB / 328.1 MB, free: 4.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.885e-05/0.01455, allocations: 92.25 kB / 328.2 MB, free: 4.211 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.074e-05/0.01462, allocations: 29.94 kB / 328.2 MB, free: 4.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.555e-05/0.01471, allocations: 87.34 kB / 328.3 MB, free: 4.094 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01471, allocations: 4 kB / 328.3 MB, free: 4.09 MB / 298.7 MB Notification: Performance of Templates: time 0.004273/0.01899, allocations: 1.929 MB / 330.2 MB, free: 2.211 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 -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: 3.2505612671375275]