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.0009717/0.0009717, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009694/0.0009694, allocations: 165 kB / 24.56 MB, free: 12 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 0.9238/0.9238, allocations: 177.2 MB / 205 MB, free: 5.621 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.2442/0.2442, allocations: 29.41 MB / 290.9 MB, free: 2.469 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.503e-06/1.503e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.804e-05, allocations: 9.266 kB / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004036/0.004064, allocations: 3.772 MB / 373.4 MB, free: 7.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.005426, allocations: 0.8766 MB / 374.3 MB, free: 6.301 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.005628, allocations: 19.81 kB / 374.3 MB, free: 6.281 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.005803, allocations: 47.56 kB / 374.4 MB, free: 6.234 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004685/0.006271, allocations: 167 kB / 374.5 MB, free: 6.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.006467, allocations: 79.77 kB / 374.6 MB, free: 5.992 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000381/0.006848, allocations: 398.5 kB / 375 MB, free: 5.602 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.007013, allocations: 52.73 kB / 375 MB, free: 5.555 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004436/0.007456, allocations: 275.2 kB / 375.3 MB, free: 5.285 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.007657, allocations: 127.6 kB / 375.4 MB, free: 5.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.007687, allocations: 16 kB / 375.5 MB, free: 5.145 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.987e-05/0.007717, allocations: 16 kB / 375.5 MB, free: 5.129 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.702e-05/0.007794, allocations: 83.73 kB / 375.6 MB, free: 5.047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.056e-05/0.007875, allocations: 91.75 kB / 375.6 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.008099, allocations: 175.4 kB / 375.8 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.008103, allocations: 0 / 375.8 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.008105, allocations: 0 / 375.8 MB, free: 4.785 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.00811, allocations: 0 / 375.8 MB, free: 4.785 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.000617/0.008727, allocations: 0.5905 MB / 376.4 MB, free: 4.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.008767, allocations: 11.98 kB / 376.4 MB, free: 4.148 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.55e-05/0.008842, allocations: 48.75 kB / 376.5 MB, free: 4.102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.009144, allocations: 267.9 kB / 376.7 MB, free: 3.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.009166, allocations: 16.88 kB / 376.7 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.0092, allocations: 16.38 kB / 376.8 MB, free: 3.781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.009467, allocations: 241.5 kB / 377 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.009477, allocations: 0 / 377 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.009493, allocations: 8 kB / 377 MB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.009501, allocations: 4 kB / 377 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.009621, allocations: 91.59 kB / 377.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000947/0.01057, allocations: 1.367 MB / 378.5 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.01069, allocations: 90.05 kB / 378.6 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.01073, allocations: 23.44 kB / 378.6 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.01074, allocations: 0 / 378.6 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.01076, allocations: 41.39 kB / 378.6 MB, free: 1.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.01076, allocations: 0 / 378.6 MB, free: 1.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005412/0.01131, allocations: 336.7 kB / 378.9 MB, free: 1.387 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.01134, allocations: 85.22 kB / 379 MB, free: 1.285 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.01157, allocations: 284.2 kB / 379.3 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.01158, allocations: 25.7 kB / 379.3 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.01169, allocations: 242.6 kB / 379.6 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.01172, allocations: 31.75 kB / 379.6 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.01177, allocations: 51.31 kB / 379.6 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.01188, allocations: 0.5039 MB / 380.2 MB, free: 116 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.01191, allocations: 12 kB / 380.2 MB, free: 104 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.579e-05/0.01201, allocations: 155.3 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.01215, allocations: 195 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01215, allocations: 4 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001718/0.01232, allocations: 173.2 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.01233, allocations: 10.19 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.01235, allocations: 4.438 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.01236, allocations: 8 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.01247, allocations: 40.36 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.01248, allocations: 7.984 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.01253, allocations: 11.94 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.01254, allocations: 8 kB / 380.8 MB, free: 15.37 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 8.085e-05/0.01262, allocations: 172.5 kB / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.01265, allocations: 23.91 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.01276, allocations: 87.39 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01277, allocations: 0 / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01277, allocations: 0 / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.01278, allocations: 11.92 kB / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.01306, allocations: 401 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.01307, allocations: 4 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.01312, allocations: 12 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.01313, allocations: 0 / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.01314, allocations: 7.984 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01314, allocations: 3.938 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01314, allocations: 0 / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.01332, allocations: 271.4 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.01334, allocations: 23.84 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.01336, allocations: 4.062 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.235e-05/0.0134, allocations: 7.875 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.01343, allocations: 11.98 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.01343, allocations: 4 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.054e-05/0.01352, allocations: 189.1 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01352, allocations: 3.938 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001962/0.01372, allocations: 40 kB / 382 MB, free: 14.03 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 8.166e-05/0.0138, allocations: 95.25 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.01394, allocations: 94.95 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01394, allocations: 0 / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.254e-05/0.01397, allocations: 31.61 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.01428, allocations: 64.11 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009298/0.01521, allocations: 481.8 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.474e-05/0.01527, allocations: 84.31 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.473e-05/0.01533, allocations: 30.27 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.01536, allocations: 20.5 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01536, allocations: 0 / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003942/0.01931, allocations: 1.896 MB / 384.8 MB, free: 11.23 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: 2.9630935341119766]