Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.00145/0.00145, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.001594/0.001594, allocations: 161.7 kB / 24.26 MB, free: 172 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.549/1.549, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.3318/0.3318, allocations: 29.41 MB / 290.5 MB, free: 2.434 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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=741,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.197e-05, allocations: 6.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.007152/0.007184, allocations: 4.019 MB / 372.9 MB, free: 7.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.009538, allocations: 0.8688 MB / 373.8 MB, free: 6.387 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002794/0.009818, allocations: 19.81 kB / 373.8 MB, free: 6.367 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.01007, allocations: 43.56 kB / 373.8 MB, free: 6.324 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006505/0.01072, allocations: 194.7 kB / 374 MB, free: 6.133 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.01098, allocations: 87.77 kB / 374.1 MB, free: 6.047 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005686/0.01155, allocations: 418.3 kB / 374.5 MB, free: 5.637 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.01181, allocations: 70.7 kB / 374.6 MB, free: 5.574 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004488/0.01225, allocations: 247.2 kB / 374.8 MB, free: 5.332 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.01261, allocations: 163.5 kB / 375 MB, free: 5.172 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.01266, allocations: 20 kB / 375 MB, free: 5.152 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.047e-05/0.01271, allocations: 20 kB / 375 MB, free: 5.133 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.01285, allocations: 95.72 kB / 375.1 MB, free: 5.039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.013, allocations: 95.75 kB / 375.2 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004446/0.01345, allocations: 291 kB / 375.5 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.01345, allocations: 0 / 375.5 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01345, allocations: 0 / 375.5 MB, free: 4.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.01346, allocations: 0 / 375.5 MB, free: 4.66 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001169/0.01463, allocations: 0.5216 MB / 376 MB, free: 4.105 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.01467, allocations: 15.98 kB / 376 MB, free: 4.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.0148, allocations: 56.7 kB / 376.1 MB, free: 4.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.01537, allocations: 291.7 kB / 376.4 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.0154, allocations: 16.88 kB / 376.4 MB, free: 3.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/0.01546, allocations: 24.38 kB / 376.4 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.01606, allocations: 295.7 kB / 376.7 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.01608, allocations: 0 / 376.7 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.01611, allocations: 12 kB / 376.7 MB, free: 3.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.01612, allocations: 4 kB / 376.7 MB, free: 3.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003563/0.01647, allocations: 176.9 kB / 376.9 MB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.01804, allocations: 1.116 MB / 378 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.01837, allocations: 109.1 kB / 378.1 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.01847, allocations: 41.77 kB / 378.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.0185, allocations: 4 kB / 378.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.01853, allocations: 34.56 kB / 378.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 3.267e-06/0.01853, allocations: 3.984 kB / 378.2 MB, free: 1.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009073/0.01944, allocations: 428.6 kB / 378.6 MB, free: 1.316 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.01951, allocations: 81.09 kB / 378.7 MB, free: 1.219 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.0198, allocations: 253.8 kB / 378.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.01982, allocations: 25.7 kB / 379 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.01998, allocations: 196.1 kB / 379.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.02003, allocations: 47.67 kB / 379.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/0.0201, allocations: 41.66 kB / 379.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.02029, allocations: 338.8 kB / 379.6 MB, free: 304 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.954e-05/0.02038, allocations: 32.11 kB / 379.6 MB, free: 272 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.02054, allocations: 139 kB / 379.8 MB, free: 88 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.02083, allocations: 188.6 kB / 379.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.02083, allocations: 3.938 kB / 379.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003602/0.02119, allocations: 221.5 kB / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.02121, allocations: 4 kB / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.02122, allocations: 4 kB / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.02124, allocations: 7.984 kB / 380.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.02143, allocations: 47.92 kB / 380.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.02144, allocations: 4 kB / 380.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.02156, allocations: 8 kB / 380.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.02158, allocations: 8 kB / 380.2 MB, free: 15.54 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 (24): * Single equations (assignments): 24 * 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 0.0001668/0.02174, allocations: 157.7 kB / 380.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.0218, allocations: 27.86 kB / 380.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.02207, allocations: 135.4 kB / 380.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.02207, allocations: 4 kB / 380.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.02208, allocations: 0 / 380.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.02208, allocations: 0 / 380.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/0.02268, allocations: 406.3 kB / 381 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.02268, allocations: 0 / 381 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.02282, allocations: 28 kB / 381 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.02283, allocations: 3.984 kB / 381 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.02284, allocations: 4 kB / 381 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.02284, allocations: 0 / 381 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02284, allocations: 4.031 kB / 381 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.02336, allocations: 292.8 kB / 381.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.0234, allocations: 15.89 kB / 381.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.02344, allocations: 4 kB / 381.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.02355, allocations: 7.984 kB / 381.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.02358, allocations: 7.984 kB / 381.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.02359, allocations: 4 kB / 381.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002104/0.0238, allocations: 173.2 kB / 381.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0238, allocations: 3.938 kB / 381.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003483/0.02415, allocations: 48 kB / 381.5 MB, free: 14.18 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 (13): * Single equations (assignments): 12 * 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.0001585/0.02431, allocations: 103.2 kB / 381.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.02456, allocations: 107.8 kB / 381.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.02456, allocations: 0 / 381.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.387e-05/0.02465, allocations: 39.92 kB / 381.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.02519, allocations: 60.55 kB / 381.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.02622, allocations: 0.5028 MB / 382.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.02643, allocations: 162.8 kB / 382.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.02654, allocations: 30.28 kB / 382.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.844e-05/0.02661, allocations: 24.48 kB / 382.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02661, allocations: 0 / 382.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of Templates: time 0.006403/0.03301, allocations: 2.057 MB / 384.6 MB, free: 11.1 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.772076463093981]