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.001775/0.001775, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00131/0.00131, allocations: 161.5 kB / 25.61 MB, free: 8.582 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 0.99/0.99, allocations: 177.1 MB / 206.1 MB, free: 4.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.1224/0.1224, allocations: 29.43 MB / 292 MB, free: 2.641 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.754e-06/1.754e-06, allocations: 3.938 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.689e-05, allocations: 3.188 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005148/0.005175, allocations: 3.755 MB / 374.6 MB, free: 28.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.006799, allocations: 0.8727 MB / 375.5 MB, free: 27.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.007074, allocations: 15.88 kB / 375.5 MB, free: 27.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.007269, allocations: 47.56 kB / 375.6 MB, free: 27.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.007768, allocations: 174.9 kB / 375.8 MB, free: 27.44 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.007962, allocations: 87.75 kB / 375.8 MB, free: 27.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.008252, allocations: 390.5 kB / 376.2 MB, free: 26.97 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.008404, allocations: 60.72 kB / 376.3 MB, free: 26.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003565/0.00876, allocations: 263.3 kB / 376.5 MB, free: 26.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.008933, allocations: 123.6 kB / 376.7 MB, free: 26.54 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.008959, allocations: 23.98 kB / 376.7 MB, free: 26.51 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.179e-05/0.008991, allocations: 16 kB / 376.7 MB, free: 26.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.009059, allocations: 87.73 kB / 376.8 MB, free: 26.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.885e-05/0.009128, allocations: 83.77 kB / 376.9 MB, free: 26.33 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.009322, allocations: 179.2 kB / 377 MB, free: 26.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.009328, allocations: 0 / 377 MB, free: 26.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.009329, allocations: 0 / 377 MB, free: 26.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.009335, allocations: 0 / 377 MB, free: 26.15 MB / 314.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.0004741/0.009809, allocations: 0.5827 MB / 377.6 MB, free: 25.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.00984, allocations: 8.031 kB / 377.6 MB, free: 25.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.009886, allocations: 44.75 kB / 377.7 MB, free: 25.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.01013, allocations: 259.9 kB / 377.9 MB, free: 25.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.01014, allocations: 12.88 kB / 377.9 MB, free: 25.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.01017, allocations: 28.36 kB / 378 MB, free: 25.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.01034, allocations: 221.4 kB / 378.2 MB, free: 24.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.01035, allocations: 0 / 378.2 MB, free: 24.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.01036, allocations: 8 kB / 378.2 MB, free: 24.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.01037, allocations: 8 kB / 378.2 MB, free: 24.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.505e-05/0.01044, allocations: 75.38 kB / 378.3 MB, free: 24.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007068/0.01115, allocations: 1.382 MB / 379.7 MB, free: 23.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.255e-05/0.01124, allocations: 82.05 kB / 379.7 MB, free: 23.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.228e-05/0.01127, allocations: 31.38 kB / 379.8 MB, free: 23.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.01128, allocations: 0 / 379.8 MB, free: 23.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.0113, allocations: 45.36 kB / 379.8 MB, free: 23.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.0113, allocations: 4 kB / 379.8 MB, free: 23.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000379/0.01168, allocations: 257.4 kB / 380.1 MB, free: 22.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.0117, allocations: 81.11 kB / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.0118, allocations: 284.1 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.01181, allocations: 29.64 kB / 380.5 MB, free: 22.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.01188, allocations: 238.6 kB / 380.7 MB, free: 22.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.01189, allocations: 31.73 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.01193, allocations: 47.3 kB / 380.8 MB, free: 22.1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.623e-05/0.01198, allocations: 0.5079 MB / 381.3 MB, free: 21.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.012, allocations: 15.98 kB / 381.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-05/0.01206, allocations: 154.5 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.073e-05/0.01215, allocations: 183.1 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.01215, allocations: 0 / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001347/0.01228, allocations: 173.4 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.01229, allocations: 4 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.0123, allocations: 4 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.01231, allocations: 8 kB / 381.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.438e-05/0.01239, allocations: 39.92 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.0124, allocations: 8.141 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.31e-05/0.01245, allocations: 11.94 kB / 381.9 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.01246, allocations: 7.984 kB / 381.9 MB, free: 20.86 MB / 314.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 6.488e-05/0.01253, allocations: 172.7 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.01255, allocations: 19.91 kB / 382.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.9e-05/0.01264, allocations: 91.38 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01264, allocations: 0 / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01264, allocations: 448 / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.01265, allocations: 7.922 kB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.01285, allocations: 349.7 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.01285, allocations: 7.984 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.257e-05/0.01291, allocations: 19.94 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01291, allocations: 4 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.01291, allocations: 0 / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01291, allocations: 4.031 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01292, allocations: 11.88 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.01304, allocations: 263.1 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.01306, allocations: 19.84 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.01307, allocations: 4 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-05/0.01311, allocations: 4 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.01313, allocations: 11.92 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.01313, allocations: 0 / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.747e-05/0.01318, allocations: 189.1 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01318, allocations: 0 / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001878/0.01337, allocations: 44.03 kB / 383.1 MB, free: 19.58 MB / 314.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.392e-05/0.01344, allocations: 95.19 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.363e-05/0.01354, allocations: 75.45 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01354, allocations: 0 / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.473e-05/0.01356, allocations: 32.55 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.01386, allocations: 60.53 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008081/0.01467, allocations: 497.6 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.088e-05/0.01471, allocations: 88.31 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.363e-05/0.01478, allocations: 26.28 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.177e-05/0.01486, allocations: 110.2 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01487, allocations: 0 / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of Templates: time 0.003381/0.01825, allocations: 1.957 MB / 386 MB, free: 16.64 MB / 314.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.1942557538859546]