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.0009845/0.0009845, allocations: 77.97 kB / 21.42 MB, free: 3.078 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.001187/0.001187, allocations: 171 kB / 24.82 MB, free: 8.938 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.097/1.097, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2421/0.2421, allocations: 29.42 MB / 291.2 MB, free: 2.395 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.ImpedanceYD,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.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,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.ImpedanceYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.507e-05/3.706e-05, allocations: 5.547 kB / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.00502/0.005057, allocations: 4.286 MB / 374.4 MB, free: 6.379 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.007172, allocations: 1.535 MB / 375.9 MB, free: 4.84 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.007354, allocations: 15.88 kB / 376 MB, free: 4.824 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006163/0.007971, allocations: 234.8 kB / 376.2 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.008339, allocations: 274.4 kB / 376.5 MB, free: 4.324 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.008829, allocations: 271.1 kB / 376.7 MB, free: 4.059 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004734/0.009303, allocations: 0.6155 MB / 377.3 MB, free: 3.441 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003453/0.009648, allocations: 216.4 kB / 377.5 MB, free: 3.227 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006587/0.01031, allocations: 403 kB / 377.9 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.01062, allocations: 295.2 kB / 378.2 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.01066, allocations: 32 kB / 378.3 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.01089, allocations: 155.7 kB / 378.4 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.01108, allocations: 231.4 kB / 378.6 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.0112, allocations: 171.6 kB / 378.8 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.01165, allocations: 466.3 kB / 379.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.01166, allocations: 4 kB / 379.3 MB, free: 1.504 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01166, allocations: 0 / 379.3 MB, free: 1.504 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.01167, allocations: 0 / 379.3 MB, free: 1.504 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.000953/0.01262, allocations: 0.7821 MB / 380 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.01267, allocations: 11.98 kB / 380.1 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004898/0.01316, allocations: 144.4 kB / 380.2 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.01353, allocations: 353.6 kB / 380.5 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.01356, allocations: 25.38 kB / 380.6 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.01366, allocations: 60.66 kB / 380.6 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.01412, allocations: 497.7 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.01414, allocations: 4 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.01416, allocations: 16 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.858e-05/0.01425, allocations: 48.97 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.01448, allocations: 198.6 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.01648, allocations: 3.539 MB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.01671, allocations: 150.3 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.59e-05/0.01678, allocations: 55.41 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.0168, allocations: 8 kB / 385.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.01683, allocations: 37.39 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.01683, allocations: 0 / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007276/0.01756, allocations: 491.9 kB / 385.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.0176, allocations: 85.11 kB / 385.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.01782, allocations: 366 kB / 386.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.01785, allocations: 33.7 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.01801, allocations: 354.5 kB / 386.5 MB, free: 9.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.914e-05/0.01807, allocations: 95.2 kB / 386.6 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.66e-05/0.01817, allocations: 99.72 kB / 386.7 MB, free: 9.652 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.01833, allocations: 0.5235 MB / 387.2 MB, free: 9.117 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.859e-05/0.01839, allocations: 40.95 kB / 387.2 MB, free: 9.078 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.0186, allocations: 319.8 kB / 387.5 MB, free: 8.641 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.01891, allocations: 426.2 kB / 387.9 MB, free: 8.102 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01891, allocations: 0 / 387.9 MB, free: 8.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005359/0.01945, allocations: 418.3 kB / 388.4 MB, free: 7.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.01947, allocations: 8 kB / 388.4 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002341/0.0197, allocations: 183.4 kB / 388.5 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002601/0.01996, allocations: 95.91 kB / 388.6 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.02012, allocations: 91.83 kB / 388.7 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.02202, allocations: 3.599 MB / 392.3 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.02213, allocations: 12 kB / 392.3 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.02215, allocations: 23.98 kB / 392.4 MB, free: 3.434 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.0001321/0.02228, allocations: 188.4 kB / 392.5 MB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.02233, allocations: 51.77 kB / 392.6 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.02257, allocations: 192.9 kB / 392.8 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.02258, allocations: 4 kB / 392.8 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.02258, allocations: 0 / 392.8 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.02258, allocations: 0 / 392.8 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/0.02309, allocations: 0.5439 MB / 393.3 MB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.02309, allocations: 3.938 kB / 393.3 MB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.02325, allocations: 55.92 kB / 393.4 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.02326, allocations: 12.05 kB / 393.4 MB, free: 2.332 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.02327, allocations: 8 kB / 393.4 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.02327, allocations: 0 / 393.4 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.02327, allocations: 3.938 kB / 393.4 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.02359, allocations: 404.8 kB / 393.8 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.02364, allocations: 43.73 kB / 393.8 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.02367, allocations: 11.98 kB / 393.9 MB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.02374, allocations: 4 kB / 393.9 MB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.02377, allocations: 19.97 kB / 393.9 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.02377, allocations: 7.938 kB / 393.9 MB, free: 1.809 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000116/0.02389, allocations: 226.9 kB / 394.1 MB, free: 1.586 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.02389, allocations: 7.938 kB / 394.1 MB, free: 1.578 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002876/0.02418, allocations: 96 kB / 394.2 MB, free: 1.484 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.000108/0.02429, allocations: 99.25 kB / 394.3 MB, free: 1.375 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004898/0.02478, allocations: 0.5636 MB / 394.9 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.02478, allocations: 0 / 394.9 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.02486, allocations: 90.33 kB / 395 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.02518, allocations: 73.52 kB / 395 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.02641, allocations: 0.88 MB / 395.9 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.805e-05/0.02651, allocations: 141.2 kB / 396.1 MB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.02662, allocations: 51.25 kB / 396.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.02676, allocations: 134.2 kB / 396.2 MB, free: 15.35 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.02676, allocations: 0 / 396.2 MB, free: 15.35 MB / 378.7 MB Notification: Performance of Templates: time 0.006343/0.03311, allocations: 4.147 MB / 400.4 MB, free: 11.27 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.4242564239539206]