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.001032/0.001032, allocations: 80.41 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.001019/0.001019, allocations: 168.4 kB / 25.61 MB, free: 8.906 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.9695/0.9695, allocations: 177.1 MB / 206.1 MB, free: 4.449 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.1208/0.1208, allocations: 29.44 MB / 292 MB, free: 2.609 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.844e-06/1.844e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/2.005e-05, allocations: 2.312 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.00357/0.00359, allocations: 4.21 MB / 375.1 MB, free: 28.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.005706, allocations: 1.367 MB / 376.5 MB, free: 26.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003096/0.006015, allocations: 15.88 kB / 376.5 MB, free: 26.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006926/0.006708, allocations: 278.7 kB / 376.8 MB, free: 26.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004812/0.007189, allocations: 238.5 kB / 377 MB, free: 26.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005747/0.007764, allocations: 271.2 kB / 377.3 MB, free: 25.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.008222, allocations: 0.5648 MB / 377.8 MB, free: 25.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/0.008593, allocations: 250.8 kB / 378.1 MB, free: 25.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006298/0.009223, allocations: 387 kB / 378.4 MB, free: 24.71 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003622/0.009585, allocations: 275.3 kB / 378.7 MB, free: 24.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.009623, allocations: 36 kB / 378.7 MB, free: 24.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.009901, allocations: 155.7 kB / 378.9 MB, free: 24.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.01006, allocations: 239.4 kB / 379.1 MB, free: 24.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.01019, allocations: 167.6 kB / 379.3 MB, free: 23.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.01062, allocations: 470.4 kB / 379.8 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.01063, allocations: 0 / 379.8 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01063, allocations: 0 / 379.8 MB, free: 23.4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.01064, allocations: 0 / 379.8 MB, free: 23.4 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0007618/0.0114, allocations: 0.7973 MB / 380.5 MB, free: 22.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.01143, allocations: 8.031 kB / 380.6 MB, free: 22.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004712/0.0119, allocations: 156.4 kB / 380.7 MB, free: 22.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.01226, allocations: 329.8 kB / 381 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.01228, allocations: 29.38 kB / 381.1 MB, free: 22.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-05/0.01237, allocations: 60.69 kB / 381.1 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.01272, allocations: 490.4 kB / 381.6 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.01274, allocations: 4 kB / 381.6 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.01276, allocations: 19.98 kB / 381.6 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.406e-05/0.01282, allocations: 28.98 kB / 381.7 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.01302, allocations: 194.5 kB / 381.8 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.01459, allocations: 3.429 MB / 385.3 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.01474, allocations: 134 kB / 385.4 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.01479, allocations: 53.66 kB / 385.5 MB, free: 17.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.01481, allocations: 4 kB / 385.5 MB, free: 17.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.01484, allocations: 41.38 kB / 385.5 MB, free: 17.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/0.01484, allocations: 0 / 385.5 MB, free: 17.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006268/0.01546, allocations: 446.9 kB / 385.9 MB, free: 16.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.0155, allocations: 85.23 kB / 386 MB, free: 16.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.01565, allocations: 394.2 kB / 386.4 MB, free: 16.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.01566, allocations: 33.7 kB / 386.4 MB, free: 16.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.198e-05/0.01575, allocations: 358.5 kB / 386.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.01579, allocations: 83.36 kB / 386.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.947e-05/0.01586, allocations: 95.75 kB / 387 MB, free: 15.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.01591, allocations: 0.5196 MB / 387.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.697e-05/0.01596, allocations: 40.95 kB / 387.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.01607, allocations: 335.1 kB / 387.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.01628, allocations: 427.2 kB / 388.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.01629, allocations: 7.938 kB / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004229/0.01671, allocations: 401.1 kB / 388.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.01672, allocations: 8 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001677/0.01689, allocations: 133.4 kB / 388.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/0.01711, allocations: 79.59 kB / 388.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.01727, allocations: 91.83 kB / 389 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006912/0.01796, allocations: 1.819 MB / 390.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.01809, allocations: 19.98 kB / 390.8 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.01811, allocations: 16 kB / 390.8 MB, free: 11.48 MB / 314.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 8.641e-05/0.0182, allocations: 192.4 kB / 391 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.01824, allocations: 31.81 kB / 391 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.01842, allocations: 207.5 kB / 391.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.01842, allocations: 4 kB / 391.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.01843, allocations: 0 / 391.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01843, allocations: 4.031 kB / 391.3 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.01887, allocations: 0.5473 MB / 391.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.01887, allocations: 0 / 391.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.01901, allocations: 47.92 kB / 391.8 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.01901, allocations: 7.922 kB / 391.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.01902, allocations: 12 kB / 391.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01902, allocations: 4 kB / 391.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.01903, allocations: 0 / 391.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.01925, allocations: 395 kB / 392.3 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.01928, allocations: 35.75 kB / 392.3 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.0193, allocations: 15.97 kB / 392.3 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.01937, allocations: 4 kB / 392.3 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.0194, allocations: 15.97 kB / 392.3 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.01941, allocations: 8 kB / 392.3 MB, free: 9.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.673e-05/0.01949, allocations: 227 kB / 392.6 MB, free: 9.656 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01949, allocations: 0 / 392.6 MB, free: 9.656 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002908/0.01978, allocations: 96 kB / 392.6 MB, free: 9.562 MB / 314.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 9.687e-05/0.01987, allocations: 103.2 kB / 392.7 MB, free: 9.453 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.0202, allocations: 391.2 kB / 393.1 MB, free: 9.051 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.0202, allocations: 0.5625 kB / 393.1 MB, free: 9.051 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.034e-05/0.02026, allocations: 70.17 kB / 393.2 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.02057, allocations: 68.97 kB / 393.3 MB, free: 8.918 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.02159, allocations: 0.8428 MB / 394.1 MB, free: 8.027 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.829e-05/0.02166, allocations: 145.2 kB / 394.3 MB, free: 7.863 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.02177, allocations: 47.25 kB / 394.3 MB, free: 7.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.02188, allocations: 130.2 kB / 394.4 MB, free: 7.691 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02188, allocations: 4 kB / 394.4 MB, free: 7.688 MB / 314.7 MB Notification: Performance of Templates: time 0.005271/0.02715, allocations: 3.918 MB / 398.3 MB, free: 3.848 MB / 314.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.2816196689382195]