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.001318/0.001318, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009638/0.0009638, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.02/1.02, allocations: 177.1 MB / 205 MB, free: 5.633 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.2269/0.2269, allocations: 29.41 MB / 290.9 MB, free: 2.504 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.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.445e-06/2.445e-06, allocations: 4 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.33e-05, allocations: 6.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004121/0.004144, allocations: 3.768 MB / 373.4 MB, free: 7.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.005154, allocations: 0.8766 MB / 374.3 MB, free: 6.312 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.005285, allocations: 15.88 kB / 374.3 MB, free: 6.297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.005438, allocations: 43.62 kB / 374.3 MB, free: 6.254 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.005812, allocations: 167 kB / 374.5 MB, free: 6.09 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.005952, allocations: 87.75 kB / 374.6 MB, free: 6.004 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.006248, allocations: 382.5 kB / 375 MB, free: 5.629 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.006398, allocations: 60.73 kB / 375 MB, free: 5.574 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.006671, allocations: 231.2 kB / 375.3 MB, free: 5.348 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.006879, allocations: 151.6 kB / 375.4 MB, free: 5.199 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.006909, allocations: 16 kB / 375.4 MB, free: 5.184 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.946e-05/0.006939, allocations: 16 kB / 375.4 MB, free: 5.168 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.114e-05/0.00702, allocations: 83.73 kB / 375.5 MB, free: 5.086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.548e-05/0.007105, allocations: 87.77 kB / 375.6 MB, free: 5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.007319, allocations: 183.4 kB / 375.8 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.007322, allocations: 0 / 375.8 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007323, allocations: 0 / 375.8 MB, free: 4.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.007327, allocations: 3.938 kB / 375.8 MB, free: 4.816 MB / 346.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.0006472/0.007974, allocations: 0.5866 MB / 376.4 MB, free: 4.195 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.00801, allocations: 11.98 kB / 376.4 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/0.008072, allocations: 48.75 kB / 376.4 MB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.008371, allocations: 291 kB / 376.7 MB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.008385, allocations: 12.88 kB / 376.7 MB, free: 3.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.008417, allocations: 24.36 kB / 376.8 MB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.008635, allocations: 233.5 kB / 377 MB, free: 3.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.008644, allocations: 0 / 377 MB, free: 3.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.00866, allocations: 8 kB / 377 MB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.008669, allocations: 8 kB / 377 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.008782, allocations: 83.59 kB / 377.1 MB, free: 3.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008197/0.009602, allocations: 1.375 MB / 378.5 MB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.009707, allocations: 90.02 kB / 378.5 MB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.009741, allocations: 31.47 kB / 378.6 MB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.009755, allocations: 0 / 378.6 MB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.009776, allocations: 37.39 kB / 378.6 MB, free: 1.766 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 7.42e-07/0.009777, allocations: 0 / 378.6 MB, free: 1.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005018/0.01028, allocations: 328.9 kB / 378.9 MB, free: 1.406 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.01032, allocations: 81.14 kB / 379 MB, free: 1.309 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.01048, allocations: 292.2 kB / 379.3 MB, free: 1.008 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.01049, allocations: 25.7 kB / 379.3 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.01059, allocations: 242.7 kB / 379.6 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.01061, allocations: 27.78 kB / 379.6 MB, free: 0.707 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.01066, allocations: 47.31 kB / 379.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003845/0.01104, allocations: 0.504 MB / 380.1 MB, free: 140 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.01107, allocations: 19.98 kB / 380.2 MB, free: 120 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-05/0.01116, allocations: 158.6 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.01128, allocations: 195.1 kB / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.01128, allocations: 0 / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001579/0.01144, allocations: 169.2 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.01145, allocations: 4 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01146, allocations: 12.31 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.01147, allocations: 12 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.753e-05/0.01157, allocations: 39.98 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.01158, allocations: 8.375 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.01163, allocations: 7.938 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.01164, allocations: 12 kB / 380.8 MB, free: 15.38 MB / 362.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 (22): * Single equations (assignments): 22 * 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.102e-05/0.01171, allocations: 172.4 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.01173, allocations: 19.91 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.01184, allocations: 87.44 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.01184, allocations: 4 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.01184, allocations: 0 / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.01185, allocations: 7.938 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.01213, allocations: 401 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01213, allocations: 0 / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.01219, allocations: 23.98 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01219, allocations: 0 / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.0122, allocations: 3.938 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.0122, allocations: 8.25 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.0122, allocations: 0 / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.01236, allocations: 267.2 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.01238, allocations: 11.91 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.0124, allocations: 12.06 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.209e-05/0.01244, allocations: 7.922 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.01245, allocations: 4 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-06/0.01246, allocations: 4 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.207e-05/0.01254, allocations: 193.1 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01254, allocations: 0 / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000187/0.01273, allocations: 40 kB / 382 MB, free: 14.05 MB / 362.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 (9): * Single equations (assignments): 8 * 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 7.371e-05/0.0128, allocations: 95.23 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.01293, allocations: 95.39 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01293, allocations: 0 / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.285e-05/0.01296, allocations: 35.61 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.01324, allocations: 57.08 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008777/0.01412, allocations: 493.7 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.832e-05/0.01417, allocations: 88.31 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.523e-05/0.01422, allocations: 30.27 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.01425, allocations: 24.44 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01425, allocations: 0 / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of Templates: time 0.003529/0.01778, allocations: 1.795 MB / 384.7 MB, free: 11.34 MB / 362.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.1706532170064747]