Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.172/0.172, allocations: 38.53 MB / 344.5 MB, free: 2.582 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.89 kB / 482.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3396, allocations: 61.23 MB / 0.5306 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004344/0.344, allocations: 3.538 MB / 0.534 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.3459, allocations: 1.458 MB / 0.5354 GB, free: 2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.346, allocations: 8.375 kB / 0.5354 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008709/0.3469, allocations: 268.3 kB / 0.5357 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006091/0.3475, allocations: 285.7 kB / 0.536 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.3478, allocations: 110.7 kB / 0.5361 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.3483, allocations: 341.7 kB / 0.5364 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003119/0.3486, allocations: 97.11 kB / 0.5365 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002812/0.3489, allocations: 152.5 kB / 0.5366 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.3491, allocations: 164.1 kB / 0.5368 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.3491, allocations: 13.75 kB / 0.5368 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004717/0.3496, allocations: 318.2 kB / 0.5371 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.886e-05/0.3497, allocations: 98.2 kB / 0.5372 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.3498, allocations: 112.6 kB / 0.5373 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.3502, allocations: 339.9 kB / 0.5376 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3502, allocations: 1.844 kB / 0.5376 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3502, allocations: 0 / 0.5376 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.3502, allocations: 0 / 0.5376 GB, free: 0.6562 MB / 382.1 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.0005971/0.3508, allocations: 0.5245 MB / 0.5382 GB, free: 160 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3509, allocations: 9.5 kB / 0.5382 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000797/0.3517, allocations: 91.31 kB / 0.5383 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.352, allocations: 272 kB / 0.5385 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.352, allocations: 12.34 kB / 0.5385 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.3521, allocations: 22.94 kB / 0.5385 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/0.3527, allocations: 320.5 kB / 0.5389 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.3527, allocations: 1.188 kB / 0.5389 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.3528, allocations: 6.5 kB / 0.5389 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.316e-05/0.3528, allocations: 17.23 kB / 0.5389 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005063/0.3533, allocations: 295.4 kB / 0.5392 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.3552, allocations: 1.288 MB / 0.5404 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005898/0.3558, allocations: 203.7 kB / 0.5406 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.842e-05/0.3559, allocations: 60.56 kB / 0.5407 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.3559, allocations: 9.438 kB / 0.5407 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.3559, allocations: 31.91 kB / 0.5407 GB, free: 14.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.3559, allocations: 0 / 0.5407 GB, free: 14.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001004/0.3569, allocations: 427.8 kB / 0.5411 GB, free: 13.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.357, allocations: 91.14 kB / 0.5412 GB, free: 13.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.3572, allocations: 194.4 kB / 0.5414 GB, free: 13.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.3572, allocations: 30.73 kB / 0.5414 GB, free: 13.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.3574, allocations: 164.2 kB / 0.5416 GB, free: 13.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.3574, allocations: 50.69 kB / 0.5416 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.3575, allocations: 42.36 kB / 0.5417 GB, free: 13.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3576, allocations: 334.8 kB / 0.542 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.633e-05/0.3577, allocations: 52.59 kB / 0.542 GB, free: 12.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.3579, allocations: 158 kB / 0.5422 GB, free: 12.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.3582, allocations: 226.9 kB / 0.5424 GB, free: 12.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3582, allocations: 1.25 kB / 0.5424 GB, free: 12.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004622/0.3587, allocations: 260.5 kB / 0.5426 GB, free: 12.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3587, allocations: 7.5 kB / 0.5427 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.3587, allocations: 2.969 kB / 0.5427 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/0.3589, allocations: 37.64 kB / 0.5427 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.3591, allocations: 49.08 kB / 0.5427 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.3604, allocations: 1.445 MB / 0.5442 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.3605, allocations: 8.625 kB / 0.5442 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.3605, allocations: 10.28 kB / 0.5442 GB, free: 10.92 MB / 398.1 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): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.3606, allocations: 157.3 kB / 0.5443 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.3607, allocations: 19.53 kB / 0.5443 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000419/0.3611, allocations: 197.3 kB / 0.5445 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3611, allocations: 1.125 kB / 0.5445 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.3611, allocations: 1.344 kB / 0.5445 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3611, allocations: 1.062 kB / 0.5445 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008689/0.362, allocations: 0.5598 MB / 0.5451 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.362, allocations: 4.031 kB / 0.5451 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.517e-05/0.3621, allocations: 16.62 kB / 0.5451 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001381/0.3622, allocations: 31.61 kB / 0.5451 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.3622, allocations: 9.875 kB / 0.5451 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.3634, allocations: 1.424 MB / 0.5465 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3634, allocations: 1.125 kB / 0.5465 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.3638, allocations: 298.5 kB / 0.5468 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.3639, allocations: 98.83 kB / 0.5469 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3639, allocations: 6.266 kB / 0.5469 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.364, allocations: 6.344 kB / 0.5469 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.364, allocations: 22.48 kB / 0.5469 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.364, allocations: 4.781 kB / 0.5469 GB, free: 8.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.3642, allocations: 145 kB / 0.5471 GB, free: 8.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3642, allocations: 0 / 0.5471 GB, free: 8.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003723/0.3645, allocations: 47.88 kB / 0.5471 GB, free: 8.156 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001211/0.3647, allocations: 104.8 kB / 0.5472 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005277/0.3652, allocations: 271.4 kB / 0.5475 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3652, allocations: 0 / 0.5475 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.3654, allocations: 173.5 kB / 0.5477 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.3658, allocations: 25.11 kB / 0.5477 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008051/0.3666, allocations: 467.2 kB / 0.5481 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.367, allocations: 0.7615 MB / 0.5489 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.3671, allocations: 47.27 kB / 0.5489 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.3672, allocations: 17.97 kB / 0.5489 GB, free: 6.609 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3672, allocations: 3.938 kB / 0.5489 GB, free: 6.605 MB / 398.1 MB Notification: Performance of Templates: time 0.005132/0.3723, allocations: 1.784 MB / 0.5507 GB, free: 5.727 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.961377159692347]