Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001897/0.001897, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002537/0.002537, allocations: 161.7 kB / 24.27 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.476/1.476, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3116/0.3116, allocations: 29.42 MB / 290.5 MB, free: 2.438 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.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.233e-05, allocations: 9.688 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.007344/0.007376, allocations: 4.436 MB / 373.3 MB, free: 6.824 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003404/0.01078, allocations: 1.503 MB / 374.8 MB, free: 5.316 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.01105, allocations: 19.81 kB / 374.9 MB, free: 5.297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.01214, allocations: 282.6 kB / 375.1 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006665/0.01281, allocations: 282.3 kB / 375.4 MB, free: 4.742 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008027/0.01361, allocations: 275.1 kB / 375.7 MB, free: 4.473 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007797/0.01439, allocations: 0.6194 MB / 376.3 MB, free: 3.852 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004299/0.01482, allocations: 224.4 kB / 376.5 MB, free: 3.629 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006084/0.01543, allocations: 363 kB / 376.9 MB, free: 3.273 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005305/0.01596, allocations: 307.2 kB / 377.2 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.345e-05/0.01603, allocations: 32 kB / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003581/0.01639, allocations: 159.6 kB / 377.4 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.01667, allocations: 235.4 kB / 377.6 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002443/0.01691, allocations: 171.6 kB / 377.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008996/0.01781, allocations: 0.6113 MB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.01782, allocations: 0 / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01782, allocations: 4 kB / 378.4 MB, free: 1.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.01783, allocations: 0 / 378.4 MB, free: 1.77 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001579/0.01941, allocations: 0.7056 MB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.01945, allocations: 11.98 kB / 379.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009006/0.02035, allocations: 176.4 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007242/0.02108, allocations: 363.9 kB / 379.6 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.02112, allocations: 37.3 kB / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.02127, allocations: 48.73 kB / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.02265, allocations: 0.6601 MB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.02267, allocations: 7.984 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.02272, allocations: 19.98 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001754/0.0229, allocations: 48.97 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008489/0.02375, allocations: 491.5 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003893/0.02764, allocations: 2.922 MB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/0.02823, allocations: 229.3 kB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.02844, allocations: 109.7 kB / 384.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.02848, allocations: 4 kB / 384.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.02852, allocations: 42.55 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.813e-06/0.02852, allocations: 0 / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.001778/0.0303, allocations: 0.8404 MB / 385.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.03037, allocations: 85.23 kB / 385.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.03081, allocations: 332.3 kB / 385.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.03085, allocations: 33.7 kB / 385.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.03111, allocations: 299.9 kB / 385.8 MB, free: 9.973 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.695e-05/0.0312, allocations: 95.2 kB / 385.9 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.03135, allocations: 90.14 kB / 386 MB, free: 9.785 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.03156, allocations: 342.8 kB / 386.3 MB, free: 9.441 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.0318, allocations: 132.9 kB / 386.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.03222, allocations: 321.8 kB / 386.7 MB, free: 8.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.03325, allocations: 0.5003 MB / 387.2 MB, free: 8.316 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.03326, allocations: 4 kB / 387.3 MB, free: 8.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001268/0.03453, allocations: 0.6153 MB / 387.9 MB, free: 7.684 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.03455, allocations: 8 kB / 387.9 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000696/0.03524, allocations: 325.8 kB / 388.2 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005853/0.03583, allocations: 138.2 kB / 388.3 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.03615, allocations: 91.81 kB / 388.4 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/0.03961, allocations: 3.013 MB / 391.4 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.0399, allocations: 27.94 kB / 391.5 MB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.03994, allocations: 20 kB / 391.5 MB, free: 3.859 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003093/0.04025, allocations: 213.8 kB / 391.7 MB, free: 3.641 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-05/0.04034, allocations: 47.73 kB / 391.7 MB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006096/0.04095, allocations: 313 kB / 392 MB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.04095, allocations: 4 kB / 392 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.04095, allocations: 0 / 392 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.04096, allocations: 7.922 kB / 392 MB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.04215, allocations: 0.6907 MB / 392.7 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.04215, allocations: 0 / 392.7 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.04248, allocations: 55.97 kB / 392.8 MB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.04248, allocations: 4 kB / 392.8 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.04251, allocations: 12.06 kB / 392.8 MB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.04251, allocations: 3.938 kB / 392.8 MB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.04251, allocations: 4 kB / 392.8 MB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007794/0.04329, allocations: 0.5064 MB / 393.3 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.04341, allocations: 51.78 kB / 393.4 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.04346, allocations: 8 kB / 393.4 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.04365, allocations: 11.98 kB / 393.4 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.0437, allocations: 19.91 kB / 393.4 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.04372, allocations: 8 kB / 393.4 MB, free: 1.824 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002614/0.04398, allocations: 227 kB / 393.6 MB, free: 1.602 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.04398, allocations: 4 kB / 393.6 MB, free: 1.598 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004952/0.04448, allocations: 100 kB / 393.7 MB, free: 1.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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.0001653/0.04464, allocations: 111.1 kB / 393.9 MB, free: 1.383 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.04591, allocations: 0.5637 MB / 394.4 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.04591, allocations: 0 / 394.4 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.04612, allocations: 119.9 kB / 394.5 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.04665, allocations: 67.89 kB / 394.6 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.04834, allocations: 0.949 MB / 395.5 MB, free: 15.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.0487, allocations: 265.7 kB / 395.8 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002836/0.04898, allocations: 111.2 kB / 395.9 MB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.04908, allocations: 32.5 kB / 395.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.04909, allocations: 0 / 395.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of Templates: time 0.009158/0.05824, allocations: 3.878 MB / 399.8 MB, free: 11.4 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.9521915330551565]