Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001542/0.001542, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.00215/0.00215, allocations: 165.4 kB / 24.82 MB, free: 9.312 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 1.124/1.124, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.2817/0.2817, allocations: 29.43 MB / 291.2 MB, free: 2.465 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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.015e-05, allocations: 6.25 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005964/0.005984, allocations: 4.208 MB / 374.3 MB, free: 6.508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.007654, allocations: 1.355 MB / 375.7 MB, free: 5.148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.007832, allocations: 19.81 kB / 375.7 MB, free: 5.129 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005791/0.008411, allocations: 294.6 kB / 376 MB, free: 4.84 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003758/0.008787, allocations: 234.7 kB / 376.2 MB, free: 4.609 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.009303, allocations: 263.1 kB / 376.5 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004578/0.009761, allocations: 0.5571 MB / 377 MB, free: 3.793 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003043/0.01007, allocations: 258.7 kB / 377.3 MB, free: 3.539 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004282/0.01049, allocations: 387 kB / 377.7 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.01076, allocations: 271.2 kB / 377.9 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.0108, allocations: 32 kB / 378 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.01104, allocations: 159.6 kB / 378.1 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.01121, allocations: 239.4 kB / 378.3 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.01135, allocations: 167.6 kB / 378.5 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004252/0.01177, allocations: 466.4 kB / 379 MB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.01178, allocations: 0 / 379 MB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01178, allocations: 0 / 379 MB, free: 1.852 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.01178, allocations: 7.938 kB / 379 MB, free: 1.844 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0007806/0.01256, allocations: 0.786 MB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.0126, allocations: 15.98 kB / 379.8 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004301/0.01303, allocations: 152.4 kB / 379.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.01337, allocations: 337.7 kB / 380.3 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.01339, allocations: 33.36 kB / 380.3 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.688e-05/0.01348, allocations: 48.73 kB / 380.3 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.01389, allocations: 490.4 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.0139, allocations: 7.938 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.01393, allocations: 20 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-05/0.01399, allocations: 32.98 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.01421, allocations: 186.6 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.01614, allocations: 3.433 MB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.01629, allocations: 130.1 kB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.549e-05/0.01635, allocations: 55.33 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.01637, allocations: 7.984 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.01639, allocations: 33.39 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.01639, allocations: 4 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005838/0.01698, allocations: 446.8 kB / 385.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.01701, allocations: 81.11 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.01723, allocations: 398.4 kB / 385.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.01725, allocations: 33.7 kB / 385.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.0174, allocations: 362.4 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/0.01744, allocations: 87.28 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.086e-05/0.01752, allocations: 99.72 kB / 386.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.01765, allocations: 0.5196 MB / 386.7 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.188e-05/0.0177, allocations: 40.95 kB / 386.7 MB, free: 9.613 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.01788, allocations: 339.1 kB / 387.1 MB, free: 9.152 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.01815, allocations: 436.3 kB / 387.5 MB, free: 8.598 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.01816, allocations: 4 kB / 387.5 MB, free: 8.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004479/0.01861, allocations: 388.4 kB / 387.9 MB, free: 8.203 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.01862, allocations: 8 kB / 387.9 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001815/0.0188, allocations: 137.8 kB / 388 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001974/0.019, allocations: 76.28 kB / 388.1 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.01917, allocations: 91.83 kB / 388.2 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008999/0.02007, allocations: 1.835 MB / 390 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.02019, allocations: 16.03 kB / 390 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.0202, allocations: 16 kB / 390.1 MB, free: 5.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.02031, allocations: 188.4 kB / 390.2 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.02035, allocations: 39.77 kB / 390.3 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.02056, allocations: 188.6 kB / 390.5 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.02056, allocations: 4 kB / 390.5 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.02056, allocations: 0 / 390.5 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.02057, allocations: 0 / 390.5 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/0.02107, allocations: 0.5508 MB / 391 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.02108, allocations: 3.938 kB / 391 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.02121, allocations: 47.97 kB / 391.1 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.02122, allocations: 3.938 kB / 391.1 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.02123, allocations: 8 kB / 391.1 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.02123, allocations: 4 kB / 391.1 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02123, allocations: 0 / 391.1 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.0215, allocations: 396.1 kB / 391.5 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.02153, allocations: 39.69 kB / 391.5 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.02155, allocations: 8 kB / 391.5 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.02162, allocations: 4 kB / 391.5 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.02165, allocations: 15.97 kB / 391.5 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.02166, allocations: 11.94 kB / 391.6 MB, free: 4.324 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.02176, allocations: 227 kB / 391.8 MB, free: 4.102 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02176, allocations: 0 / 391.8 MB, free: 4.102 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002729/0.02204, allocations: 96 kB / 391.9 MB, free: 4.008 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * 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.404e-05/0.02212, allocations: 103.2 kB / 392 MB, free: 3.895 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.02246, allocations: 392.3 kB / 392.4 MB, free: 3.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.02246, allocations: 0 / 392.4 MB, free: 3.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.503e-05/0.02253, allocations: 64.16 kB / 392.4 MB, free: 3.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.02282, allocations: 81.95 kB / 392.5 MB, free: 3.355 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.02394, allocations: 0.845 MB / 393.3 MB, free: 2.465 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.556e-05/0.02403, allocations: 141.2 kB / 393.5 MB, free: 2.305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.02413, allocations: 47.25 kB / 393.5 MB, free: 2.258 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.02426, allocations: 130.2 kB / 393.6 MB, free: 2.129 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02426, allocations: 0 / 393.6 MB, free: 2.129 MB / 362.7 MB Notification: Performance of Templates: time 0.005643/0.02991, allocations: 3.83 MB / 397.5 MB, free: 14.35 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.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.3225190741941333]